A debugpy
version inspired by this gist: https://gist.github.com/NicolaiMogensen/acfd8723720c4761aefef3cdfc2aa55a
NOTE: I'm using VS Code Python extension version 2022.20.2, which has PyLance
as language server.
The most recent versions of the extension use debugpy debugger.
For simplicity I start VS Code directly from the plugin folder.