Skip to main content

Remote vanilla PDB (over TCP sockets).

Project description

docs

Documentation Status

tests

Travis-CI Build Status AppVeyor Build Status
Coverage Status Coverage Status Code Quality Status Scrutinizer Status

package

PyPI Package latest release PyPI Package monthly downloads

Remote vanilla PDB (over TCP sockets) done right: no extras, proper handling around connection failures and CI. Based on pdbx.

  • Free software: BSD license

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

Changelog

1.0.0 (2015-06-15)

  • Added support for PDB++.

0.2.1 (2014-03-07)

  • First release on PyPI.

Project details


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-1.0.0.tar.gz (13.6 kB view details)

Uploaded Source

Built Distribution

remote_pdb-1.0.0-py2.py3-none-any.whl (6.3 kB view details)

Uploaded Python 2Python 3

File details

Details for the file remote-pdb-1.0.0.tar.gz.

File metadata

  • Download URL: remote-pdb-1.0.0.tar.gz
  • Upload date:
  • Size: 13.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for remote-pdb-1.0.0.tar.gz
Algorithm Hash digest
SHA256 8623d754c521467356c772e24e5adcb5e5ec5392727bea06afee7ffe0c428ce8
MD5 eb8ad80b1eb714cf367ebd1138f81623
BLAKE2b-256 b3866e79daffc1a6a6fecdbb18e783fc22bd204d871de8d63caa3692da5e2c24

See more details on using hashes here.

File details

Details for the file remote_pdb-1.0.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for remote_pdb-1.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7052dbff2e4be58960a11f8e2cf5960a75ef5c05f3021cf23b62b47531fc360d
MD5 a12ba5efa8cbbb7e0cdd7b38a529c9eb
BLAKE2b-256 0a7763de9d107f1ee9b2b63109606a289713273804e66abc2e6304b272dc30b9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page