Why is debugging so slow?

Sometimes debugging speed seems normal, meaning that even if it is slow, it's not that slow. But sometimes it is extremely slow, even the break point is set at the very beginning of the code. The code basically does nothing. 

Is there a way to clear some cache to speed it up? 

 

I did this, but still doesn't help:

 

rm -rf ~/Library/Caches/PyCharm2019.1/*

1 comment
Comment actions Permalink

First I would suggest to disable Cython speedups, by adding the following env variables to your run/debug configuration:

PYDEVD_USE_CYTHON=NO
PYDEVD_USE_FRAME_EVAL=NO

Second - check if it's a network issue. Try disabling firewall/antivirus. Try this and let me know, I'll try to get more recommendations for you.

0

Please sign in to leave a comment.