Remotely Accessible IPython-Enabled Debugger
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.
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
The latest release of the package may be obtained from GitHub.
See the included AUTHORS file for more information.