Create a new launch.json
in your ${PROJ_DIR}.vscode
to run the debugger. Thanks to https://stackoverflow.com/a/55072246
{
"version": "0.2.0",
"configurations": [
{
"name": "Python: Current File",
"type": "debugpy",
"request": "launch",
"console": "integratedTerminal",
"cwd": "${workspaceFolder}",
"program": "${workspaceFolder}/main.py"
}
]
}