Skip to content

Commit

Permalink
添加使用vscode进行debug调试FastAPI的配置文件
Browse files Browse the repository at this point in the history
  • Loading branch information
deadwalks committed Aug 31, 2024
1 parent 43b2b1f commit 0e599f5
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Python 调试程序: server.py",
"type": "debugpy",
"request": "launch",
"program": "${workspaceFolder}/app/server.py",
"args": [
"--host",
"0.0.0.0",
"--port",
"8000",
"--reload"
],
"jinja": true
}
]
}

0 comments on commit 0e599f5

Please sign in to comment.