Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add .vscode/launch.json to be able to run example bots #180

Open
BurnySc2 opened this issue Sep 18, 2023 · 0 comments
Open

Add .vscode/launch.json to be able to run example bots #180

BurnySc2 opened this issue Sep 18, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@BurnySc2
Copy link
Owner

Although this is probably bad for people who run different editors (vim, pycharm etc.), adding such a config could display (with the help of comments) which variables may be changed to run python-sc2 correctly.

An example config could be

{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Python: Current File",
            "type": "python",
            "request": "launch",
            "program": "${file}",
            "console": "integratedTerminal",
            "justMyCode": true,
            "env": {
                "PYTHONPATH": "${workspaceFolder}",
                "SC2PATH": "/home/user/games/starcraft/drive_c/Program Files (x86)/StarCraft II",
                "SC2PF": "WineLinux",
                "WINE": "/usr/bin/wine"
            }
        }
    ]
}
@BurnySc2 BurnySc2 added the enhancement New feature or request label Sep 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant