在今天安装Windows更新之后,调试不再工作了。
这是我的活动调试配置:
"launch": {
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "DEBUG CURR",
"type": "python",
"request": "launch",
"program": "${file}",
"console": "internalConsole",
"justMyCode": false,
"stopOnEntry": false,
}...当我启动调试器时,菜单会短暂弹出1-2秒.但后来就关闭了。控制台中没有输出。
它不会停在设定的断点处。
有谁有同样的问题吗?有解决办法吗?
谢谢!
系统设置
操作系统:MicrosoftWindows10Enterprise (10.0.17763 Build 17763) VSCode版本1.64.0 Python版本: 3.8.11 (在active Anaconda环境中)
已安装的VSCode扩展:
v2022.0.1786462952
发布于 2022-02-07 14:43:48
这是VSCode最新的Python扩展的一个问题。
将python扩展降级到v2021.12.1559732655解决了这个问题。

https://stackoverflow.com/questions/71019671
复制相似问题