PyCharm should terminate Run/Debug instances when exiting


PyCharm should automatically terminate any Run/Debug instances when exiting or restarting.

As far as I remember, PyCharm used to do this, but sometime I think in 2017 it stopped doing it.

I am typically debugging a web server process (a WSGI app served by waitress). When I stop the process in PyCharm by clicking the stop button, it terminates fine.

However if I leave it running and simply exit or restart the app, it leaves the "zombie" process behind and it has to be manually killed.

It would be nice if PyCharm had an option to automatically terminate running process upon exit. Anyone else run into this?

1 comment
Comment actions Permalink

Fortunately it looks like this was fixed in 2017.3.3. When closing PyCharm I now get a prompt to terminate the running process. Thanks!


Please sign in to leave a comment.