vscode python 3.7 pylance debugpy 插件 vsix

可能报错    crashed 5 times in the last 3 minutes. The server will not be restarted.   --- pylance

 

可能报错    cannot read properties of undefined reading resolveEnvironment      ---  debugger

可能            vscode python3.7 调试 没有反应        ---  debugger

可能           “python扩展正在加载”一直在加载或加载python扩展失败     

 

 

大概可能都是插件版本问题

 

本人的背景是,无网环境的离线安装, vscode python 3.7.9

python debugger 插件

尝试很久,python debugger 插件 各种版本不能使用, 

今天尝试 用原生的,看似可以了

https://blog.csdn.net/qq_40197828/article/details/93468787

lauch.json
{
  name: 'custom name',
type: 'python', // critical ; 如果是 python debugger插件 值是debugpy 
request: 'launch',
program: '${file}',
"console": 'integratedTerminal' }

 

python 插件 当前安装的 2022.6.0版本

pylance 插件 当前安装的 2023.6.42版本

vscode版本 当前安装的 1.91.1版本

 

posted @ 2024-07-30 11:24  hjswlqd  阅读(2)  评论(0编辑  收藏  举报