开发者

Django in Pydev spawns multiple processes?

I have my project setup in PyDev in Eclipse. Whenever I debug my project, things go great, but once I try to restart the D开发者_如何学Gojango server, it spawns an additional runserver process, blocking up the port I'm using for the server (8000). Is there a workaround to make sure it really kills the server?


Django reloads the server each time changes are made to any Python code (running another instance of the server and killing the old one). It seems that it's not handled properly when launched from Pydev. You can deactivate this by adding the --noreload argument to the server starting command.

More information: --noreload, pydev/django (look for the remark below Run/Debug as Django)

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜