vs代碼版本:1.29.1(1.29.1)蟒蛇版本:3.6.5啟動.json: { "name": "Python", "type": "python", "pythonPath":"${config.python.pythonPath}", "request": "launch", "stopOnEntry": true, "console": "none", "program": "${file}", "cwd": "${workspaceRoot}", "debugOptions": [ "WaitOnAbnormalExit", "WaitOnNormalExit", "RedirectOutput" ], "env": {"name":"value"} }工作區設置: {"python.pythonPath": "/usr/local/opt/python/libexec/bin/python","python.linting.pylintEnabled": true }我下載的擴展。當我測試調試時,我失敗了。結果據說“在開始調試之前,您需要選擇一個 Python 解釋器”。但我實際上選擇了左下角顯示的一個版本。任何部分不正確?
關于VSCode設置Python調試的一個問題
慕婉清6462132
2021-09-14 17:46:06