set-the-working-directory
Published at 2024-01-23
Last update over 365 days ago
Licensed under CC BY-NC-SA 4.0
softwares-and-tools
vscode
debug
python
In launch.json, specify a dynamic working directory (i.e. the directory where the currently-open Python file is located) using:
"cwd": "${fileDirname}"