vscode中用python设置breakpoint断点,breakpoint位置不停!!!
试了好多办法。调不好。
翻了英文网站才解决了。
小白一枚,别喷别杠 谢谢。
在.vscode文件夹下找'launch.json' 或者open editors中打开也行。
'launch.json' file,打开之后
更改或者手打进去最后两行
“stopOnEntry”:true,
"justMyCode": false
一定注意检查大小写和逗号!!!!!
{
"version": "0.2.0",
"configurations": [
{
"name": "Python: Debug Current File",
"type": "python",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal",
"stopOnEntry": true,
"justMyCode": false
},
]
}