I\'m starting to use vscode for Python. I have a simple test program. I want to run it under debug and I need to set the working directory for the run.
How/where d
In some cases, it might be also useful to set the PYTHONPATH along with the workspaceFolder:
PYTHONPATH
workspaceFolder
{ "name": "Python: Current File", "type": "python", "request": "launch", "program": "${file}", "console": "integratedTerminal", "cwd": "${workspaceFolder}", "env": { "PYTHONPATH": "${cwd}" } }