yt.funcs.pdb_run

yt.funcs.pdb_run(func)[source]

This decorator inserts a pdb session on top of the call-stack into a function.

This can be used like so:

@pdb_run
def some_function_to_debug(...):