Fix - PyCharm pydev debugger not working.

Fix - PyCharm pydev debugger not working.

I was using PyCharm today and I suddenly got this weird error when I started the debugger. The debugger was working fine earlier so I was a bit clueluess as to why it happened. The error I recieved was something similar to what I have shown below.

Connected to pydev debugger (build ....)
Could not connect to 127.0.0.1: 60695
Traceback (most recent call last):
File "/Applications/PyCharm 2.app/Contents/helpers/pydev/pydevd.py", line 1572, in <module>
debugger.connect(host, port)
File "/Applications/PyCharm 2.app/Contents/helpers/pydev/pydevd.py", line 319, in connect
self.initialize_network(s)
File "/Applications/PyCharm 2.app/Contents/helpers/pydev/pydevd.py", line 311, in initialize_network
time.sleep(0.1) # give threads time to start
KeyboardInterrupt

This is not the exact error, but it was something similar. Anyway, if you get this error and you aren't able to debug your lovely app, here is a simple fix for that.

Just remove all your hit points in the debugger and restart the debug process. It will work fine :)

That's it!! I hope this will help someone. If it helped you, don't forget to leave a comment. If you also know any other fix, let everyone know that too by leaving a comment.