We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42d0ed4 commit b0c836bCopy full SHA for b0c836b
docs/code/launch.json5
@@ -5,23 +5,16 @@
5
"name": "fba 调试程序",
6
"type": "debugpy",
7
"request": "launch",
8
- "module": "uvicorn",
+ "program": "${workspaceFolder}/backend/run.py",
9
"console": "integratedTerminal",
10
+ "cwd": "${workspaceFolder}/backend",
11
// 指定 python 解释器,请根据实际情况自行修改
12
//"python": "${workspaceFolder}/.venv/bin/python", // MacOS or Linux
13
//"python": "${workspaceFolder}/.venv/Scripts/python.exe", // Windows
14
"env": {
15
"PYTHONPATH": "${workspaceFolder};${env:PYTHONPATH}"
16
},
17
"envFile": "${workspaceFolder}/backend/.env",
- "args": [
18
- "backend.main:app",
19
- "--host",
20
- "0.0.0.0",
21
- "--port",
22
- "8000",
23
- "--reload"
24
- ],
25
"justMyCode": true
26
27
{
0 commit comments