feat: flask debugger for vscode

This commit is contained in:
Alex
2024-12-19 16:03:39 +00:00
parent 8564198321
commit 6fc4723d61

22
.vscode/launch.json vendored
View File

@@ -11,6 +11,26 @@
"skipFiles": [
"<node_internals>/**"
]
}
},
{
"name": "Python Debugger: Flask",
"type": "debugpy",
"request": "launch",
"module": "flask",
"env": {
"FLASK_APP": "application/app.py",
"PYTHONPATH": "${workspaceFolder}",
"FLASK_ENV": "development",
"FLASK_DEBUG": "1",
"FLASK_RUN_PORT": "7091",
"FLASK_RUN_HOST": "0.0.0.0"
},
"args": [
"run",
"--no-debugger"
],
"cwd": "${workspaceFolder}",
},
]
}