Skip to content

What to set PYTHONBREAKPOINT to for remote debugging when passing arguments like "host" and "term_size"? #636

Discussion options

You must be logged in to vote

You can set the term size with PUDB_TERM_SIZE. https://documen.tician.de/pudb/starting.html#remote-debugging and the host with PUDB_RDB_HOST (not documented, but you can see here

pudb/pudb/remote.py

Lines 54 to 56 in 920414f

PUDB_RDB_HOST = os.environ.get("PUDB_RDB_HOST") or "127.0.0.1"
PUDB_RDB_PORT = int(os.environ.get("PUDB_RDB_PORT") or default_port)
PUDB_RDB_REVERSE = bool(os.environ.get("PUDB_RDB_REVERSE"))
). PYTHONPBREAKPOINT can only be set to a function name, so there's no way to specify arguments with it.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@piotr-dobrogost
Comment options

Answer selected by piotr-dobrogost
Comment options

You must be logged in to vote
1 reply
@piotr-dobrogost
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants