Skip to main content

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

History Node

1.9

History Node

1.8

History Node

1.7

History Node

1.6.3

History Node

1.6.2

History Node

1.6.1

History Node

1.6

History Node

1.4

History Node

1.2

This version
History Node

1.1

History Node

1.0

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
debugme-1.1.tar.gz (1.2 kB) Copy SHA256 hash SHA256 Source None Aug 28, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page