Remote vanilla PDB (over TCP sockets).
Project description
Remote vanilla PDB (over TCP sockets) done right: no extras, proper handling around connection failures and CI. Based on pdbx.
Usage
To open a remote PDB on first available port:
from remote_pdb import set_trace
set_trace() # you'll see the port number in the logs
To use some specific host/port:
from remote_pdb import RemotePdb
RemotePdb('127.0.0.1', 4444).set_trace()
To connect just run telnet 127.0.0.1 4444. When you are finished debugging, either exit the debugger, or press Control-], then Control-d.
Alternately, one can connect with NetCat: nc -C 127.0.0.1 4444. When finished debugging, either exit the debugger, or press Control-c.
Requirements
Python 2.6, 2.7, 3.2, 3.3 and PyPy are supported.
Similar projects
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
remote-pdb-0.2.1.tar.gz
(6.8 kB
view details)
File details
Details for the file remote-pdb-0.2.1.tar.gz.
File metadata
- Download URL: remote-pdb-0.2.1.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
28bb7451deb7cbfe55f8ab39197ca8d8cff750ee503433e087f1c9f7a60fb4bf
|
|
| MD5 |
96bb198a4344dcb41cf4dc214135ab73
|
|
| BLAKE2b-256 |
d2e980bfbcf8f2db4e08b434c2435f8b12b3b26e33127b91be8b54beff75e1ef
|