remote_pdb

class remote_pdb.RemotePdb(host, port, patch_stdstreams=False, quiet=False)[source]

This will run pdb as a ephemeral telnet service. Once you connect no one else can connect. On construction this object will block execution till a client has connected.

Based on https://github.com/tamentis/rpdb I think …

To use this:

RemotePdb(host='0.0.0.0', port=4444).set_trace()

Then run: telnet 127.0.0.1 4444

do_exit(arg)

q(uit) exit

Quit from the debugger. The program being executed is aborted.
do_q(arg)

q(uit) exit

Quit from the debugger. The program being executed is aborted.
do_quit(arg)[source]

q(uit) exit

Quit from the debugger. The program being executed is aborted.
set_trace(frame=None)[source]

Start debugging from frame.

If frame is not specified, debugging starts from caller’s frame.

remote_pdb.set_trace(host=None, port=None, patch_stdstreams=False, quiet=None)[source]

Opens a remote PDB on first available port.