Files
file-templates/Python/Web/.vscode/launch.json
cruld 51ed7d4f96 feat(vscode): add launch and task configuration files
- 新增 launch.json 文件以支持调试配置
- 新增 tasks.json 文件以支持运行任务
2025-03-29 22:24:03 +08:00

36 lines
949 B
JSON

{
// 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": "调试",
"type": "debugpy",
"request": "launch",
"module": "uvicorn",
"env": {
"TYPE": "client"
},
"args": [
"app.main:app",
"--reload"
],
"jinja": true
},
{
"name": "调试管理端",
"type": "debugpy",
"request": "launch",
"module": "uvicorn",
"env": {
"TYPE": "admin"
},
"args": [
"app.main_admin:app",
"--reload"
],
"jinja": true
}
]
}