Reputation: 312
When I try to debug, it gives the following error: Connection to Python debugger failed Interrupted function call: accept failed
However, I can still Run the script. I just upgraded to Pycharm 2020 from 2018 and the error still persists...
Upvotes: 2
Views: 1437
Reputation: 312
Solved: The problem was I had a copy.py file in the same directory.
Upvotes: 2