186 lines
5.9 KiB
JSON
186 lines
5.9 KiB
JSON
{
|
|
// Utilisez IntelliSense pour en savoir plus sur les attributs possibles.
|
|
// Pointez pour afficher la description des attributs existants.
|
|
// Pour plus d'informations, visitez : https://go.microsoft.com/fwlink/?linkid=830387
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "Python",
|
|
"type": "python",
|
|
"request": "launch",
|
|
"stopOnEntry": true,
|
|
"pythonPath": "${config:python.pythonPath}",
|
|
"program": "${file}",
|
|
"cwd": "${workspaceFolder}",
|
|
"env": {},
|
|
"envFile": "${workspaceFolder}/.env",
|
|
"debugOptions": [
|
|
"RedirectOutput"
|
|
]
|
|
},
|
|
{
|
|
"name": "Python: Attach",
|
|
"type": "python",
|
|
"request": "attach",
|
|
"localRoot": "${workspaceFolder}",
|
|
"remoteRoot": "${workspaceFolder}",
|
|
"port": 3000,
|
|
"secret": "my_secret",
|
|
"host": "localhost"
|
|
},
|
|
{
|
|
"name": "Python: Terminal (integrated)",
|
|
"type": "python",
|
|
"request": "launch",
|
|
"stopOnEntry": true,
|
|
"pythonPath": "${config:python.pythonPath}",
|
|
"program": "${file}",
|
|
"cwd": "",
|
|
"console": "integratedTerminal",
|
|
"env": {},
|
|
"envFile": "${workspaceFolder}/.env",
|
|
"debugOptions": []
|
|
},
|
|
{
|
|
"name": "Python: Terminal (external)",
|
|
"type": "python",
|
|
"request": "launch",
|
|
"stopOnEntry": true,
|
|
"pythonPath": "${config:python.pythonPath}",
|
|
"program": "${file}",
|
|
"cwd": "",
|
|
"console": "externalTerminal",
|
|
"env": {},
|
|
"envFile": "${workspaceFolder}/.env",
|
|
"debugOptions": []
|
|
},
|
|
{
|
|
"name": "Python: Django",
|
|
"type": "python",
|
|
"request": "launch",
|
|
"stopOnEntry": true,
|
|
"pythonPath": "${config:python.pythonPath}",
|
|
"program": "${workspaceFolder}/manage.py",
|
|
"cwd": "${workspaceFolder}",
|
|
"args": [
|
|
"runserver",
|
|
"--noreload",
|
|
"--nothreading"
|
|
],
|
|
"env": {},
|
|
"envFile": "${workspaceFolder}/.env",
|
|
"debugOptions": [
|
|
"RedirectOutput",
|
|
"DjangoDebugging"
|
|
]
|
|
},
|
|
{
|
|
"name": "Python: Flask (0.11.x or later)",
|
|
"type": "python",
|
|
"request": "launch",
|
|
"stopOnEntry": false,
|
|
"pythonPath": "${config:python.pythonPath}",
|
|
"program": "fully qualified path fo 'flask' executable. Generally located along with python interpreter",
|
|
"cwd": "${workspaceFolder}",
|
|
"env": {
|
|
"FLASK_APP": "${workspaceFolder}/quickstart/app.py"
|
|
},
|
|
"args": [
|
|
"run",
|
|
"--no-debugger",
|
|
"--no-reload"
|
|
],
|
|
"envFile": "${workspaceFolder}/.env",
|
|
"debugOptions": [
|
|
"RedirectOutput"
|
|
]
|
|
},
|
|
{
|
|
"name": "Python: Flask (0.10.x or earlier)",
|
|
"type": "python",
|
|
"request": "launch",
|
|
"stopOnEntry": false,
|
|
"pythonPath": "${config:python.pythonPath}",
|
|
"program": "${workspaceFolder}/run.py",
|
|
"cwd": "${workspaceFolder}",
|
|
"args": [],
|
|
"env": {},
|
|
"envFile": "${workspaceFolder}/.env",
|
|
"debugOptions": [
|
|
"RedirectOutput"
|
|
]
|
|
},
|
|
{
|
|
"name": "Python: PySpark",
|
|
"type": "python",
|
|
"request": "launch",
|
|
"stopOnEntry": true,
|
|
"osx": {
|
|
"pythonPath": "${env:SPARK_HOME}/bin/spark-submit"
|
|
},
|
|
"windows": {
|
|
"pythonPath": "${env:SPARK_HOME}/bin/spark-submit.cmd"
|
|
},
|
|
"linux": {
|
|
"pythonPath": "${env:SPARK_HOME}/bin/spark-submit"
|
|
},
|
|
"program": "${file}",
|
|
"cwd": "${workspaceFolder}",
|
|
"env": {},
|
|
"envFile": "${workspaceFolder}/.env",
|
|
"debugOptions": [
|
|
"RedirectOutput"
|
|
]
|
|
},
|
|
{
|
|
"name": "Python: Module",
|
|
"type": "python",
|
|
"request": "launch",
|
|
"stopOnEntry": true,
|
|
"pythonPath": "${config:python.pythonPath}",
|
|
"module": "module.name",
|
|
"cwd": "${workspaceFolder}",
|
|
"env": {},
|
|
"envFile": "${workspaceFolder}/.env",
|
|
"debugOptions": [
|
|
"RedirectOutput"
|
|
]
|
|
},
|
|
{
|
|
"name": "Python: Pyramid",
|
|
"type": "python",
|
|
"request": "launch",
|
|
"stopOnEntry": true,
|
|
"pythonPath": "${config:python.pythonPath}",
|
|
"cwd": "${workspaceFolder}",
|
|
"env": {},
|
|
"envFile": "${workspaceFolder}/.env",
|
|
"args": [
|
|
"${workspaceFolder}/development.ini"
|
|
],
|
|
"debugOptions": [
|
|
"RedirectOutput",
|
|
"Pyramid"
|
|
]
|
|
},
|
|
{
|
|
"name": "Python: Watson",
|
|
"type": "python",
|
|
"request": "launch",
|
|
"stopOnEntry": true,
|
|
"pythonPath": "${config:python.pythonPath}",
|
|
"program": "${workspaceFolder}/console.py",
|
|
"cwd": "${workspaceFolder}",
|
|
"args": [
|
|
"dev",
|
|
"runserver",
|
|
"--noreload=True"
|
|
],
|
|
"env": {},
|
|
"envFile": "${workspaceFolder}/.env",
|
|
"debugOptions": [
|
|
"RedirectOutput"
|
|
]
|
|
}
|
|
]
|
|
} |