compat.doctest.debug_script API [rev. 38799]

def debug_script(src, pm=False, globs=None):

Debug a test script. `src` is the script, as a string.