When running a code sample provided in the documentation to enable debug mode in PyCharm it will get stuck in an infinite loop in some versions of PyCharm. This error ...