In PyCharm, when developing a Django site, I can start the internal Django server by clicking the green Run arrow, but there seems to be no way to stop this server. If I ran it from a shell, I could would terminate it with CTRL+C, but I don't think I can do that in PyCharm.
If I press the Run button again, it says it can't run the server because the port is already being used (by the previous run that I couldn't terminate). Annoying, but usable.
The problem is that in this state it doesn't stop at breakpoints. In order to do that, I have to start the server with the Debug button, not the Run. But since it is already running, I can't start it for debugging!
So the question is, how do I stop the internal server that I started by using Run in PyCharm?
