vs code version:1.29.1(1.29.1)
python version:3.6.5
Launch.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"}
}
workspacesettings:
{
"python.pythonPath": "/usr/local/opt/python/libexec/bin/python",
"python.linting.pylintEnabled": true
}
When I test for debugging, I got failed.
It's said "You need to select a Python interpreter before you start debugging". But I actually choice one version shows in the lower left corner.
Any part is incorrect?