Pycharm Django Debugging is really slow

For me the issue improved when I remembered I had enabled the debugger to collect type information.

  • Hit Ctrl-Shift-A or search under Settings > Build, Execution, Deployment > Python Debugger for collect run-time types information for code insight

  • Un-check the box and hit apply

  • See if this helps

I run PyCharm Community 5.0.1


I noticed the original poster's debug output doesn't include the message about cython. I came to this post because I couldn't figure out why my pycharm debug was so slow, but later I realized a suggestion for speeding up the debugger is right here in my debug output.

"<some-path-to-python>/python" "/Applications/PyCharm.app/Contents/helpers/pydev/setup_cython.py" build_ext --inplace

I hope folks have tried that. I guess this answer is for the non-output readers of the world.


Need to experiment on these, taken from Jetbrain blog:

  1. delete all breakpoints
  2. turn off tracing exceptions
  3. no runtime type insights

But also look at disabling Django model checking etc to speed up.

I'v used a patch to speed up test cases, 10x faster to run. So, if you do TDD, functions are less heavier than views. It let you resolve bug quickly.


Well, the debugger is just slow and there is not much you can do about it. Just don't use the debugger unless you absolutely need it (i.e. you are troubleshooting a particularly elusive bug).

I can think of only one thing that may speed up the PyCharm's debugger and that is to turn off the "Collect run-time types information for code insight" setting (located under File > Settings > Build, Execution, Deployment > Python Debugger).