Quitting from debuggers is now properly handled in ``doctest`` items.