A simple tool that allows you to debug your system whenever you want, with no overhead, even in production!
Project description
adhoc-pdb
A simple tool that allows you to debug your system whenever you want, with no overhead, even in production!
Install
pip install adhoc-pdb
(or pip install adhoc-pdb[cli]
to get a nice CLI)
For development, clone this repo and run make
.
Usage
In your code:
import adhoc_pdb
adhoc_pdb.install()
Debug using adhoc-pdb cli:
adhoc-pdb <pid>
or using pure shell:
kill -SIGUSR1 <pid>
telnet localhost 9999
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file adhoc_pdb-0.1.2-py2.py3-none-any.whl
.
File metadata
- Download URL: adhoc_pdb-0.1.2-py2.py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.8.0 tqdm/4.42.0 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44cbd39400030cd1bcc0ca631dbf3f10432853ec90a340727b8a4abf2249387a |
|
MD5 | 9cd2378eb1aa2b4db5da8baed5cf9782 |
|
BLAKE2b-256 | 30822ae104cf220482791f06341c088993f71850d2c7f31fdafd0485f7af2a68 |