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 or Socat: socat socat readline tcp:127.0.0.1:4444 (for line editing and history support). 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.1.3 (2015-07-06)

  • Corrected the default frame tracing starts from.

1.1.2 (2015-07-06)

  • Small readme update.

1.1.1 (2015-07-06)

  • Remove bogus remote_pdb console script.

1.1.0 (2015-06-21)

  • Fixed buffering issues when running on Python 3 and Windows.

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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

remote_pdb-1.1.3-py2.py3-none-any.whl (6.7 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for remote-pdb-1.1.3.tar.gz
Algorithm Hash digest
SHA256 edf236820c52c0182835ba03033d6784a1744ae11ad4a396879ac3e59073aff2
MD5 5c9c7464084e4509b11da3f71c96a86c
BLAKE2b-256 98b877c008153041578214d7b03e097d77f011051b6d30b645fa99fe1a2f1ea2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for remote_pdb-1.1.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b0fdf4d6efc66bf32d85a8231044489b4fec6747cb4553452f966100543e1e8a
MD5 ae1a44fb36d8292e4c676135d5c922d5
BLAKE2b-256 1df907da68ab3a17695de95621ffe4a06214978beb04aa45dbf51b7f8f499f54

See more details on using hashes here.

Supported by

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