开发者

Eclipse PyDev doesn't shut down interpreter when you click the little red button

开发者 https://www.devze.com 2022-12-26 02:50 出处:网络
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.A

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消