vscode配置python的flask项目
{
// 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 Debugger: Flask",
"type": "debugpy",
"request": "launch",
"module": "flask",
"env": {
"FLASK_APP": "appserver/application.py",
"FLASK_DEBUG": "1",
"PYTHONPATH":"/platform-depends-daemonset/:appserver/",
"CK_USERNAME": "user_blueteam_zhaoyi_readonly",
"CK_PASSWORD": "FSijfa1w1F2d",
"HUNTING_CENTER_ADDR": "http://10.128.145.32:32432",
"MINIO_HOST": "10.72.9.203:31849",
"ACCESS_KEY": "4hLf3OO0mWykLwZd",
"SECRET_KEY": "bZFV0yu3GcCX41vEXIAKDkhQof7avH8x",
},
"args": [
"run",
"--no-debugger",
"--no-reload"
],
"jinja": true,
"autoStartBrowser": false
}
]
}