| { | |
| // Use IntelliSense to learn about possible attributes. | |
| // Hover to view descriptions of existing attributes. | |
| // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | |
| "version": "0.2.0", | |
| "configurations": [ | |
| { | |
| "name": "Python: Chromite (Integrated Terminal)", | |
| "type": "python", | |
| "request": "launch", | |
| "console": "integratedTerminal", | |
| "args": ["-c", "import imp; scripts = imp.load_source('scripts', '${workspaceFolder}/scripts/__init__.py'); wrapper = imp.load_source('scripts.wrapper', '${workspaceFolder}/scripts/wrapper.py'); import sys; sys.argv[0] = '${file}'; wrapper.DoMain()"], | |
| "justMyCode": false, | |
| }, | |
| { | |
| "name": "Python: Current File (Integrated Terminal)", | |
| "type": "python", | |
| "request": "launch", | |
| "program": "${file}", | |
| "console": "integratedTerminal", | |
| "justMyCode": false, | |
| }, | |
| { | |
| "name": "Python: Attach", | |
| "type": "python", | |
| "request": "attach", | |
| "port": 5678, | |
| "host": "localhost" | |
| }, | |
| { | |
| "name": "Python: Current File (External Terminal)", | |
| "type": "python", | |
| "request": "launch", | |
| "program": "${file}", | |
| "console": "externalTerminal" | |
| } | |
| ] | |
| } |