2023-09-01 09:15:06 +08:00
|
|
|
{
|
|
|
|
// Use IntelliSense to learn about possible attributes.
|
|
|
|
// Hover to view descriptions of existing attributes.
|
|
|
|
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
|
|
|
"version": "0.2.0",
|
|
|
|
"configurations": [
|
|
|
|
{
|
|
|
|
"name": "Python: Flask",
|
|
|
|
"type": "python",
|
|
|
|
"request": "launch",
|
|
|
|
"module": "flask",
|
|
|
|
"env": {
|
2023-11-06 19:36:16 +08:00
|
|
|
"FLASK_APP": "app.py",
|
2023-09-01 09:15:06 +08:00
|
|
|
"FLASK_DEBUG": "1",
|
|
|
|
"GEVENT_SUPPORT": "True"
|
|
|
|
},
|
|
|
|
"args": [
|
|
|
|
"run",
|
|
|
|
"--host=0.0.0.0",
|
|
|
|
"--port=5001",
|
|
|
|
"--debug"
|
|
|
|
],
|
|
|
|
"jinja": true,
|
|
|
|
"justMyCode": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|