Eclipse PyDev doesn't shut down interpreter when you click the little red button
Seems that even after unchecking the option in the PyDev/Debug preferenecs pane to launch in the background, once it's launched I have to go to task manager to kil开发者_如何学Cl the python process.
As far as I can tell when working with Django you need to add runserver --noreload
to your program argument in Run > Run... menu
This often happens when you're using something like cherrypy/django and the process restarts after you've changed a python file while it's running. When this happens, I think the process is different but still using the same output console and thus won't be killed when you press the red button.
I'm not sure there's a way of fixing it, except for disabling auto-restarting in the web framework etc.
精彩评论