PyCharm should terminate Run/Debug instances when exiting

Completed

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
4 comments

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!

0

Leaves a zombie process when I close the window.

0

Still a problem in 2018.1 - leaves processes running still. They are not Zombies though they just show as sleeping.

0

2018.1 is pretty outdated version, you should try the latest: https://www.jetbrains.com/pycharm/download/

0

Please sign in to leave a comment.