I have a project where I've set the PyCharm synchronize code automatically to remote testing machine with ssh. Additionally I have configured a remote Python interpreter from that machine to PyCharm project.
I can run and debug python files remotely using this remote interpreter, but when pressing stop button, PyCharm just disconnects from the running process and leaves the remote process/python intrepreter running on the remote machine. In my case this process reserves a TCP port so restarting from IDE fails until I manually kill this "ghost" process using separate shell. This gets really annoying, really fast ;-)
Is there any way I can force PyCharm to actually kill the remote python process when pressing the stop button in IDE?