【发布时间】:2017-11-24 22:39:45
【问题描述】:
VS Code 中的调试器只工作一次(使用调试或不调试启动),之后就根本无法启动。然后我必须重新启动 VS Code 并且它可以工作。更新到 v1.18.1 后我才遇到这个问题。
{
"version": "0.2.0",
"configurations": [
{
"name": "Python",
"type": "python",
"request": "launch",
"stopOnEntry": true,
"pythonPath": "${config:python.pythonPath}",
"program": "${file}",
"cwd": "${workspaceRoot}",
"env": {},
"envFile": "${workspaceRoot}/.env",
"debugOptions": [
"WaitOnAbnormalExit",
"WaitOnNormalExit",
"RedirectOutput"
]
},
【问题讨论】: