{
// 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": "Python Debugger: Current File",
"type": "debugpy",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal",
"justMyCode": false,
"cwd": ""
}
]
}
上面是我搜来的解决方案,说在launch.json 里面按照上面修改就好了。
然鹅,对我这个还是不生效,后来找到了办法。是pylance要和vscode版本相匹配,重新安装extension后,reload window 好啦,嘻嘻。



217

被折叠的 条评论
为什么被折叠?



