Quantcast
Channel: Active questions tagged visual-studio-code - Stack Overflow
Viewing all articles
Browse latest Browse all 97355

How to detach Python debugger in VS Code and let the code finish running?

$
0
0

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?


Viewing all articles
Browse latest Browse all 97355

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>