Created
September 2, 2019 09:59
-
-
Save rzvdaniel/ed386700d291fd082c79db80dbde5157 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Python: Current File (Integrated Terminal)", | |
"type": "python", | |
"request": "launch", | |
"program": "${file}", | |
"console": "integratedTerminal" | |
}, | |
{ | |
"name": "Python: Remote Attach", | |
"type": "python", | |
"request": "attach", | |
"port": 5678, | |
"host": "localhost", | |
"pathMappings": [ | |
{ | |
"localRoot": "${workspaceFolder}", | |
"remoteRoot": "." | |
} | |
] | |
}, | |
{ | |
"name": "Python: Module", | |
"type": "python", | |
"request": "launch", | |
"module": "enter-your-module-name-here", | |
"console": "integratedTerminal" | |
}, | |
{ | |
"name": "Python: Django", | |
"type": "python", | |
"request": "launch", | |
"program": "${workspaceFolder}/manage.py", | |
"console": "integratedTerminal", | |
"args": [ | |
"runserver", | |
"--noreload", | |
"--nothreading" | |
], | |
"django": true | |
}, | |
{ | |
"name": "Python: Flask", | |
"type": "python", | |
"request": "launch", | |
"module": "flask", | |
"env": { | |
"FLASK_APP": "app.py" | |
}, | |
"args": [ | |
"run", | |
"--no-debugger", | |
"--no-reload" | |
], | |
"jinja": true | |
}, | |
{ | |
"name": "Python: Current File (External Terminal)", | |
"type": "python", | |
"request": "launch", | |
"program": "${file}", | |
"console": "externalTerminal" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment