@
athomas 应该是设置有问题,但是我不知道怎么设置才能使断点生效。我的 launch.json 中的相关内容如下:
"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"
]
},
另外,F11 键既是单步调试模式,又是 VSCODE 全屏快捷键,我一按 F11 就切换全屏而无法进入单步执行,请问这又应该怎么做呢?