Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/patrys/great-justice

Debug every ZIG
https://github.com/patrys/great-justice

Last synced: 21 days ago
JSON representation

Debug every ZIG

Awesome Lists containing this project

README

        

h1. How are you gentlemen _!!_

This module provides an easy way to debug broken code.

h2. What you say _!!_

bc. from great_justice import what_happen
try:
# ...
except:
what_happen()

Or make it even better:

bc. from great_justice import take_your_time
with take_your_time():
# ...

Results:

great-justice 2012.6

To get a nice debug log just pass a logger object:

bc. from great_justice import what_happen
import logging
logger = logging.getLogger(__name__)
try:
# ...
except:
what_happen(logger=logger)