code: def get_context_from_config():
      parser = get_config()
      try:
          return parser.getint("ipdb", "context")
      except (configparser.NoSectionError, configparser.NoOptionError):
          return 3
      except ValueError:
          value = parser.get("ipdb", "context")
          raise ValueError(
              "In %s,  context value [%s] cannot be converted into an integer."
              % (parser.filepath, value)
          )
  
imports: from __future__ import print_function
  import os
  import sys
  from decorator import contextmanager
  from IPython import get_ipython
  from IPython.core.debugger import BdbQuit_excepthook
  from IPython.terminal.ipapp import TerminalIPythonApp
  from IPython.terminal.embed import InteractiveShellEmbed
label_desc: Use image node_id 5 for calling a global function with example usage: get_context_from_config() and returns: parser, int