This decorator inserts a pdb session on top of the call-stack into a function.
This can be used like so:
@rootonly def some_function_to_debug(...):
yt.funcs.paste_traceback
yt.funcs.print_tb
Enter search terms or a module, class or function name.