diff --git a/core/misc.py b/core/misc.py index d370e4e..be2cefe 100644 --- a/core/misc.py +++ b/core/misc.py @@ -71,3 +71,14 @@ def console(locals, globals=None, tab_completion=False): c = code.InteractiveConsole(environment) c.interact(banner='') + +# -------------------------------------------------- + +def debugger(): + ''' + Drops into the Python Debugger where called. + ''' + + import pdb + + pdb.set_trace()