Skip to main content

Remotely accessible IPython-enabled debugger

Project description

Package Description

ripdb is a wrapper around the IPython debugger that enables one to connect to and control the debugger remotely via a socket handler. It combines the functionality of ipdb and rpdb in a single package.

Latest Version

Usage

After installation, include the following in your code:

import ripdb
ripdb.set_trace()

This will start the debugger on port 4444 by default; to use a different port instantiate the debugger as follows:

import ripdb
ripdb.set_trace(port=12345)

Connect to the debugger using telnet, netcat, or socat. If you want to enable line completion and editing, you need to disable several terminal features before connecting:

SAVED_STTY=`stty -g`; stty -icanon -opost -echo -echoe -echok -echoctl
-echoke; nc 127.0.0.1 4444; stty $SAVED_STTY

Development

The latest release of the package may be obtained from GitHub.

Authors

See the included AUTHORS file for more information.

License

This software is licensed under the BSD License. See the included LICENSE file for more information.

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

ripdb-0.1.3.1.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

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

ripdb-0.1.3.1-py2.py3-none-any.whl (5.5 kB view details)

Uploaded Python 2Python 3

File details

Details for the file ripdb-0.1.3.1.tar.gz.

File metadata

  • Download URL: ripdb-0.1.3.1.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/0.0.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for ripdb-0.1.3.1.tar.gz
Algorithm Hash digest
SHA256 15471ea316b477642bf73951033467d449eda696bbb282478c03a612205d0fe7
MD5 b8a6e1edd64024b17f34bbd4ef044399
BLAKE2b-256 f01b319f9d438ab0c62fd1ca68df7927fd1126678349a34d5637648e698763de

See more details on using hashes here.

File details

Details for the file ripdb-0.1.3.1-py2.py3-none-any.whl.

File metadata

  • Download URL: ripdb-0.1.3.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/0.0.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for ripdb-0.1.3.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 38755f3ebb8da45d523debe7cb103a75169815acb3acebd3068cb92023182291
MD5 6d111079a6856306987367d6f0ed5eea
BLAKE2b-256 b41aac89d5c683240a9a0caf1ae2c84fd4fcc713487319e2598bdf2bb2a5b682

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