Add launch.json for debugging from vscode

This commit is contained in:
Peter Stockings
2024-12-24 11:21:26 +11:00
parent 9b137f21fa
commit 5fdda885e5

18
launch.json Normal file
View File

@@ -0,0 +1,18 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Python: Flask",
"type": "python",
"request": "launch",
"module": "flask",
"env": {
"FLASK_APP": "app", // Replace 'app' with the entry point module of your app
"FLASK_ENV": "development"
},
"args": ["run"],
"jinja": true,
"justMyCode": true
}
]
}