开发者

How to debug django, it spawns a new process to which I'm not attached?

I'm trying to debug django using PyCharm, and notice that it spawns a new process to which PyCharm is not attached. My breakpoints aren't hit in this new pro开发者_StackOverflowcess.

How do I debug it then? (See autoreload.restart_with_reloader())


If you are debugging - it is a good idea to have "--noreload" option for the dev-server.

AFAIK PyCharm has a checkbox "No reload" in the run options for the project.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜