compat.doctest.debug API [rev. unknown]

def debug(module, name, pm=False):

Debug a single doctest docstring. Provide the module (or dotted name of the module) containing the test to be debugged and the name (within the module) of the object with the docstring with tests to be debugged.