Community edition Django debug breakpoint not hit

I have the latest version of PyCharm community edition. I am using the Heroku python project from

My run configuration is set to python-getting-started\, with a parameter of runserver.

I've put a breakpoint at hello/, on line 9. When I launch it in debug the server works fine, but my breakpoint is never hit.


Comment actions Permalink

Hi Oli! Are you sure that this line of code was executed? Could you please set environment variable PYCHARM_DEBUG=True and provide console output?

Comment actions Permalink

Pretty sure, the output went to the browser.

I did some further googling after posting this, came across PYCHARM_DEBUG=True, which caused it to start working.

However, now if I remove that it still works - so I can no longer reproduce it :(


Please sign in to leave a comment.