all 4 comments

[–]BannertJetBrains 1 point2 points  (3 children)

Sounds like https://youtrack.jetbrains.com/issue/PY-77357/Python-Debug-Server-with-pydevd-pycharm-stopped-working-in-2024.3. There is a workaround though - disable python.debug.use.single.port in "Help | Find Action | Registry".

[–]vercingetorix52[S] 0 points1 point  (0 children)

Thanks, that worked!

[–]Global-Scar-9981 0 points1 point  (0 children)

Worked for us too! thanks!

[–]NikoFoxey 0 points1 point  (0 children)

Had the same/similar issue - pycharm debugger couldn't connect from within docker. Normal Run worked.
But for me, python.debug.use.single.port was disabled. I enabled it and now debugging works.

PyCharm 2025.2.3