Skip to content

Commit 9b9b343

Browse files
committed
update docs
1 parent b8f5ab0 commit 9b9b343

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

docs/code/launch.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,21 @@
2323
"--reload"
2424
],
2525
"justMyCode": true
26+
},
27+
{
28+
"name": "Python 调试程序",
29+
"type": "debugpy",
30+
"request": "launch",
31+
"program": "${file}",
32+
"console": "integratedTerminal",
33+
// 指定 python 解释器,请根据实际情况自行修改
34+
//"python": "${workspaceFolder}/.venv/bin/python", // MacOS or Linux
35+
//"python": "${workspaceFolder}/.venv/Scripts/python.exe", // Windows
36+
"env": {
37+
"PYTHONPATH": "${workspaceFolder};${env:PYTHONPATH}"
38+
},
39+
"envFile": "${workspaceFolder}/backend/.env",
40+
"justMyCode": true
2641
}
2742
]
2843
}

0 commit comments

Comments
 (0)