VSCode python debug突然失效问题的解决

问题描述
VSCode突然对python文件就不能进行debug了,但是可以正常直接运行,如果点击’Run and Debug’会没反应。
解决办法
应该是python插件自动更新的原因,将python插件的版本回退到之前的旧版本即可。旧版本的python extension可以在在这里下载https://code.visualstudio/updates/v1_66

Reference:

https://docs.microsoft/en-us/answers/questions/724858/vscode-debugger-not-working-for-python.html

更多推荐

VSCode python debug突然失效问题的解决