Hello... while I'm not sure it's "normal", I am sure that I'm experiencing the same thing! So, I would say that this is either a bug - or a feature that should be documented a bit more! :-)
Also I noticed, that there is 2 processes (of the python) are started when I start Django without --noreload option. And when I press a "stop" only one is killing and second one is alive, which causes the " Error: (48, 'Address already in use') " exception. Does it should be like this? With --noreload only one processe started and killed on stop event.
Does it all mean, than in the next revision we won't have auto-reload and debug at the same time?
I am on MacBook with 10.6.4, and I use Python 2.5 for my django project.
And when I press a "stop" only one is killing and second one is alive, which causes the " Error: (48, 'Address already in use') " exception. D
Indeed there is an issue with terminate both of the processes on Mac, which is not fixed yet.
Does it all mean, than in the next revision we won't have auto-reload and debug at the same time?
Currently it is impossible to debug in auto-reload mode as django server process is being restarted loosing connection with debuger with no chance to restore it.
Hello... while I'm not sure it's "normal", I am sure that I'm experiencing the same thing! So, I would say that this is either a bug - or a feature that should be documented a bit more! :-)
Debug works only in --noreload mode. It is needed for django server process not being restarted loosing connection with debugger.
In next EAP(which is expected soon) PyCharm adds --noreload option in debug mode automaticly.
Also I noticed, that there is 2 processes (of the python) are started when I start Django without --noreload option. And when I press a "stop" only one is killing and second one is alive, which causes the " Error: (48, 'Address already in use') " exception. Does it should be like this? With --noreload only one processe started and killed on stop event.
Does it all mean, than in the next revision we won't have auto-reload and debug at the same time?
I am on MacBook with 10.6.4, and I use Python 2.5 for my django project.
Hi Aleksandr,
Indeed there is an issue with terminate both of the processes on Mac, which is not fixed yet.
Currently it is impossible to debug in auto-reload mode as django server process is being restarted loosing connection with debuger with no chance to restore it.
Yeah, such feature would be the killer one ... :-(