You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
104 lines
3.0 KiB
JSON
104 lines
3.0 KiB
JSON
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "Python",
|
|
"type": "python",
|
|
"request": "launch",
|
|
"stopOnEntry": true,
|
|
"pythonPath": "${config.python.pythonPath}",
|
|
"program": "${file}",
|
|
"debugOptions": [
|
|
"WaitOnAbnormalExit",
|
|
"WaitOnNormalExit",
|
|
"RedirectOutput"
|
|
]
|
|
},
|
|
{
|
|
"name": "Integrated Terminal/Console",
|
|
"type": "python",
|
|
"request": "launch",
|
|
"stopOnEntry": true,
|
|
"pythonPath": "${config.python.pythonPath}",
|
|
"program": "${file}",
|
|
"console": "integratedTerminal",
|
|
"debugOptions": [
|
|
"WaitOnAbnormalExit",
|
|
"WaitOnNormalExit"
|
|
]
|
|
},
|
|
{
|
|
"name": "External Terminal/Console",
|
|
"type": "python",
|
|
"request": "launch",
|
|
"stopOnEntry": true,
|
|
"pythonPath": "${config.python.pythonPath}",
|
|
"program": "${file}",
|
|
"console": "externalTerminal",
|
|
"debugOptions": [
|
|
"WaitOnAbnormalExit",
|
|
"WaitOnNormalExit"
|
|
]
|
|
},
|
|
{
|
|
"name": "Django",
|
|
"type": "python",
|
|
"request": "launch",
|
|
"stopOnEntry": true,
|
|
"pythonPath": "${config.python.pythonPath}",
|
|
"program": "${workspaceRoot}/manage.py",
|
|
"args": [
|
|
"runserver",
|
|
"--noreload"
|
|
],
|
|
"debugOptions": [
|
|
"WaitOnAbnormalExit",
|
|
"WaitOnNormalExit",
|
|
"RedirectOutput",
|
|
"DjangoDebugging"
|
|
]
|
|
},
|
|
{
|
|
"name": "Flask",
|
|
"type": "python",
|
|
"request": "launch",
|
|
"stopOnEntry": true,
|
|
"pythonPath": "${config.python.pythonPath}",
|
|
"program": "${workspaceRoot}/run.py",
|
|
"args": [],
|
|
"debugOptions": [
|
|
"WaitOnAbnormalExit",
|
|
"WaitOnNormalExit",
|
|
"RedirectOutput"
|
|
]
|
|
},
|
|
{
|
|
"name": "Watson",
|
|
"type": "python",
|
|
"request": "launch",
|
|
"stopOnEntry": true,
|
|
"pythonPath": "${config.python.pythonPath}",
|
|
"program": "${workspaceRoot}/console.py",
|
|
"args": [
|
|
"dev",
|
|
"runserver",
|
|
"--noreload=True"
|
|
],
|
|
"debugOptions": [
|
|
"WaitOnAbnormalExit",
|
|
"WaitOnNormalExit",
|
|
"RedirectOutput"
|
|
]
|
|
},
|
|
{
|
|
"name": "Attach (Remote Debug)",
|
|
"type": "python",
|
|
"request": "attach",
|
|
"localRoot": "${workspaceRoot}",
|
|
"remoteRoot": "${workspaceRoot}",
|
|
"port": 3000,
|
|
"secret": "my_secret",
|
|
"host": "localhost"
|
|
}
|
|
]
|
|
} |