Skip to content

Debug your system whenever you want, without overhead

License

Notifications You must be signed in to change notification settings

yehonatanz/adhoc-pdb

Repository files navigation

adhoc-pdb

Build Status codecov Code style: black PyPI version

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

Tested on linux and OSX, should on any POSIX compliant system.

Supports python>=2.7,>=3.5.

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

About

Debug your system whenever you want, without overhead

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published