Skip to main content

A simple tool that allows you to debug your system whenever you want, with no overhead, even in production!

Project description

adhoc-pdb

Build Status Code style: black PyPI version

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for adhoc-pdb, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size adhoc_pdb-0.1.2-py2.py3-none-any.whl (4.2 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes

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 DigiCert DigiCert EV certificate StatusPage StatusPage Status page