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.
精彩评论