Problem with Python debugger in Pycharm 2025.3.3
I have encountered with a very strange problem in Pycharm on Windows 10 Pro: the debugger works only once, any subsequent debug attempt end with debugger “waiting for connection” and then debugger timeout. Every time I see this line: Connected to: <socket.socket fd=164, family=2, type=1, proto=0, laddr=('127.0.0.1', 52707), raddr=('127.0.0.1', 52706)>. When I check these ports in cmd it states that connection is ESTABLISHED. I tried installing older versions, reinstalling Python, nothing helps. If I restart IDE the debug again works only once.
Please sign in to leave a comment.
Hello, Zv1987
Could you please check if disabling
python.debug.use.single.portin Help | Find Action | Registry, restarting PyCharm helps to solve the issue?If the issue persists, please create YouTrack ticket and attach the logs archive, which can be found under Help | Collect Logs and Diagnostic Data.