Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

super simple context manager to print debug message

Project description

Debug Context Manager

Super simple context manager to wrap a block of code with a debug message.


from debug_context_manager import debug

with debug("Doing this stuff"):
    # some code

with debug("Doing other stuff", "and finished!"):
    # other code

Project details

Release history Release notifications | RSS feed

This version


Download files

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

Files for debug_context_manager, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size debug_context_manager-0.1-py2.7.egg (1.4 kB) File type Egg Python version 2.7 Upload date Hashes View
Filename, size debug_context_manager-0.1-py2.py3-none-any.whl (2.6 kB) File type Wheel Python version 2.7 Upload date Hashes View
Filename, size debug_context_manager-0.1.tar.gz (1.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page