Interactive terminal for inspecting the running state of a python program
Project description
Python has a great debugger in pdb, but sometimes you only want to inspect and buck about with the state. The pdb REPL is a bit inconvenient for that, so here’s a different approach. Instead of
import pdb pdb.set_trace()
Just do
import debugme
This starts an interactive interpreter and exits the program when the interpreter ends. If you want to continue, run this in that interpreter
debugme.exit = False
The variables available in the interactive interpreter are the locals and globals of the frame you imported debugme from.
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 Distribution
debugme-1.4.tar.gz
(1.4 kB
view hashes)