"Connection closed by foreign host." when trying to connect to remote pudb running in docker container #635
Replies: 1 comment
-
The solution was to call |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I started pudb in docker container (managed by
docker compose
) by settingPYTHONBREAKPOINT=pudb.remote.set_trace
and placing
breakpoint()
in code (I also exposed port 6899 of the container in compose's yaml configuration).In the container's console I see
but I can't connect:
Any idea what might be the reason?
ps.
In Remote debugging section in the docs (https://documen.tician.de/pudb/starting.html#remote-debugging) there is no information on what to set
PYTHONBREAKPOINT
to in this case. It's not entirely obvious it should be set topudb.remote.set_trace
.Beta Was this translation helpful? Give feedback.
All reactions