code: def BdbQuit_IPython_excepthook(self, et, ev, tb, tb_offset=None):
      warnings.warn(
          "`BdbQuit_IPython_excepthook` is deprecated since version 5.1",
          DeprecationWarning,
          stacklevel=2,
      )
      print("Exiting Debugger.")
  
imports: from __future__ import print_function
  import bdb
  import functools
  import inspect
  import sys
  import warnings
  from IPython import get_ipython
  from IPython.utils import PyColorize, ulinecache
  from IPython.utils import coloransi, py3compat
  from IPython.core.excolors import exception_colors
  from IPython.testing.skipdoctest import skip_doctest
  from pdb import Pdb
label_desc: Use image node_id 3 for calling a global function with example usage: BdbQuit_IPython_excepthook(et, ev, tb, tb_offset) without return types