如何在调试模式下更新 Visual Studio Code 使用的 ptvsd [英] How to update ptvsd used by Visual Studio Code in debug mode

查看:35
本文介绍了如何在调试模式下更新 Visual Studio Code 使用的 ptvsd的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

VS Code 继续使用/.vscode/extensions/ms-python.python-2020.3.69010/pythonFiles/ptvsd_launcher.py 而我需要 5.0 来实现它的一些功能

VS Code continues to use /.vscode/extensions/ms-python.python-2020.3.69010/pythonFiles/ptvsd_launcher.py while I need 5.0 for some of it's features

推荐答案

您可以关注 https://github.com/microsoft/ptvsd/issues/2104 并通过添加以下设置强制选择加入已对 100% 用户上线的实验:

You can follow https://github.com/microsoft/ptvsd/issues/2104 and forcibly opt into the experiment which has gone live to 100% of users by adding the following setting:

"python.experiments.optInto": [
        "DebugAdapterFactory - experiment",
        "PtvsdWheels37 - experiment"
    ],

顺便说一句,您的问题表明您的安装在尝试下载实验文件的最后一个副本时超时.

Your issue, BTW, suggests your install is timing out trying to download the last copy of the experiments file.

这篇关于如何在调试模式下更新 Visual Studio Code 使用的 ptvsd的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆