launch.json 中断 VSCode 中的调试

问题描述 投票:0回答:0

我想为 VSCode 中的 python 项目将

justMyCode
设置为 false。 所以我在项目根文件夹下的
launch.json
文件夹中创建了一个
.vscode
文件,内容如下:

{
    "configurations": [
        {
            "name": "Python: Current File",
            "type": "python",
            "request": "launch",
            "program": "${file}",
            "console": "integratedTerminal", // <== adding/deleting this makes no difference
            "env": {"PYDEVD_WARN_SLOW_RESOLVE_TIMEOUT": "5"}, // <== I'd like to have this too
            "justMyCode": false,
        }
    ],
    "debug.allowBreakpointsEverywhere": true,
    "jupyter.debugJustMyCode": false,
}

之后,调试器不会启动。代码在调试困难之外运行良好。

我应该修改什么?

python visual-studio-code visual-studio-debugging
© www.soinside.com 2019 - 2024. All rights reserved.