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.
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.
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
Built Distribution
File details
Details for the file ripdb-0.1.3.2.tar.gz
.
File metadata
- Download URL: ripdb-0.1.3.2.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/0.0.0 pkginfo/1.8.2 readme-renderer/27.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.4.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87e7a14393f5a3b6f35b25e766c6a95283fd77681d87acefd590ba1844fbbbf3 |
|
MD5 | 1679302c3b3986a1a9ea410c00a5808d |
|
BLAKE2b-256 | 42a2b4d2d31ca762b6386b8e38010ba2f3e44d01cde912ec31fb7775076309eb |
File details
Details for the file ripdb-0.1.3.2-py2.py3-none-any.whl
.
File metadata
- Download URL: ripdb-0.1.3.2-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 pkginfo/1.8.2 readme-renderer/27.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.4.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8685db1ba31d3735bbfee27126f71204ab0963cde03e4580097091d92324ec81 |
|
MD5 | 39e51bb3716bcf465feb4cae912203f1 |
|
BLAKE2b-256 | 29a683208818381602b4b9e2ea07b95dd70a84737988d3265a54bcac1df0fe47 |