gpt4 book ai didi

python - VS Code 上的调试器无法在输出为 : DAP Server launched with command: conda run -n MyEnvironment --no-capture-output 的 Python 上运行

转载 作者:行者123 更新时间:2023-12-02 15:54:31 25 4
gpt4 key购买 nike

一段时间以来,我一直在 VS Code 上使用 Debugger 来调试 Python 脚本,它始终运行良好。

昨天我尝试处理一些用 C 语言编写的脚本并调试它们。现在 VS Code 上的调试器无法处理 Python 脚本。

查看 Python 部分的输出窗口,我可以看到以下错误(也如下图所示):

DAP Server launched with command: conda run -n testenv --no-capture-output --live-stream python c:\Users\user.name\.vscode\extensions\ms-python.python-2022.4.0\pythonFiles\lib\python\debugpy\adapter

我尝试在 VS Code 上卸载 Python 扩展并重新安装,但并没有解决问题。有什么建议吗?

enter image description here

最佳答案

关于python - VS Code 上的调试器无法在输出为 : DAP Server launched with command: conda run -n MyEnvironment --no-capture-output 的 Python 上运行,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/71726755/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com