2022-11-12 14:50:18 +01:00
|
|
|
{
|
|
|
|
"configurations": [
|
2022-12-12 19:40:30 +01:00
|
|
|
{
|
|
|
|
"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
|
|
|
|
},
|
2022-11-12 14:50:18 +01:00
|
|
|
{
|
|
|
|
"name": "Python: Current File",
|
|
|
|
"type": "python",
|
|
|
|
"request": "launch",
|
|
|
|
"program": "${file}",
|
2022-12-03 23:26:04 +01:00
|
|
|
"cwd": "${workspaceFolder}/web/",
|
2022-11-12 14:50:18 +01:00
|
|
|
"console": "integratedTerminal",
|
2022-12-03 23:26:04 +01:00
|
|
|
"justMyCode": true
|
2022-12-12 19:40:30 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Python: backend",
|
|
|
|
"type": "python",
|
|
|
|
"request": "launch",
|
|
|
|
"program": "backend/main.py",
|
|
|
|
"cwd": "${workspaceFolder}/web/",
|
|
|
|
"justMyCode": true
|
2022-11-12 14:50:18 +01:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|