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 b8f5ab0 commit 9b9b343Copy full SHA for 9b9b343
docs/code/launch.json
@@ -23,6 +23,21 @@
23
"--reload"
24
],
25
"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
41
}
42
]
43
0 commit comments