Skip to main content
Join the official Python Developers Survey 2018 and win valuable prizes: Start the survey!

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.

Filename, size & hash SHA256 hash help File type Python version Upload date
ripdb-0.1.3-py2.py3-none-any.whl (5.7 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Jan 9, 2018
ripdb-0.1.3.tar.gz (5.1 kB) Copy SHA256 hash SHA256 Source None Jan 9, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page