在vscode中调试python,但无法在断点处停止

问题描述

我尝试在VSCode中调试python脚本,但未能在断点处停止。 我单击调试按钮,但似乎没有任何反应。这些代码永远不会在我的断点处停止!

这是我的launch.json。我使用anaconda虚拟envs作为解释器。 请帮帮我,谢谢!!!

{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more @R_442_4045@ion,visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0","configurations": [
        {
            "name": "Python: 当前文件","type": "python","request": "launch","program": "${file}","console": "integratedTerminal","stopOnEntry": true,"pythonPath": "/home/linda/.conda/envs/py3/bin/python","justMyCode": false
        }
    ]
}

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)