I like running almost everything Python in the VS Code debugger, as it gives me a perfect way to inspect variables when hitting unexpected exceptions.
However, once I decide that I want to continue running the code in the background, I see no way of achieving that in VS Code. I can only stop the code completely and re-run, which is often not what I want. In particular, I would like to detach from code when using VS Code Remote SSH, e.g., to reboot my computer that is running the GUI while letting the server in the background finish some computation.
So, how can I detach the debugger from code that was started in VS Code using ptvsd
without stopping the code?