Open BurnySc2 opened 1 year ago
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" } } ] }
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