autopeering/.vscode/launch.json

53 lines
1.2 KiB
JSON

{
"configurations": [
{
"name": "Python: Flask-node",
"type": "python",
"request": "launch",
"module": "flask",
"cwd": "${workspaceFolder}/nodes/",
"env": {
"FLASK_APP": "main.py",
"FLASK_DEBUG": "1",
"FLASK_RUN_HOST": "::",
"FLASK_RUN_PORT": "8142"
},
"args": ["run", "--no-debugger"],
"jinja": true,
"justMyCode": true
},
{
"name": "Python: Flask-backend",
"type": "python",
"request": "launch",
"module": "flask",
"cwd": "${workspaceFolder}/web/",
"env": {
"FLASK_APP": "backend/main.py",
"FLASK_DEBUG": "1",
"FLASK_RUN_HOST": "0.0.0.0",
"FLASK_RUN_PORT": "8042"
},
"args": ["run", "--no-debugger"],
"jinja": true,
"justMyCode": true
},
{
"name": "Python: Current File",
"type": "python",
"request": "launch",
"program": "${file}",
"cwd": "${workspaceFolder}/web/",
"console": "integratedTerminal",
"justMyCode": true
},
{
"name": "Python: backend",
"type": "python",
"request": "launch",
"program": "backend/main.py",
"cwd": "${workspaceFolder}/web/",
"justMyCode": true
}
]
}