def pdb_run(func: Callable, *args: Any, **kwargs: Any) -> None:
    """
    Calls ``func(*args, **kwargs)``; if it raises an exception, break into
    the ``pdb`` debugger.
    """
    # noinspection PyBroadException
    try:
        func(*args, **kwargs)
    except:  # nopep8
        type_, value, tb = sys.exc_info()
        traceback.print_exc()
        pdb.post_mortem(tb)
Calls ``func(*args, **kwargs)``; if it raises an exception, break into
    the ``pdb`` debugger.