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 process.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With