开发者

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

开发者 https://www.devze.com 2023-02-17 18:53 出处:网络
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.

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

精彩评论

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