class_docstr: Standalone IPython debugger.
code: def do_interact(self, arg):
      ipshell = embed.InteractiveShellEmbed(
          config=self.shell.config,
          banner1="*interactive*",
          exit_msg="*exiting interactive console...*",
      )
      global_ns = self.curframe.f_globals
      ipshell(
          module=sys.modules.get(global_ns["__name__"], None),
          local_ns=self.curframe_locals,
      )
  
imports: import asyncio
  import os
  import sys
  from IPython.core.debugger import Pdb
  from IPython.core.completer import IPCompleter
  from .ptutils import IPythonPTCompleter
  from .shortcuts import create_ipython_shortcuts
  from .None import embed
  from pathlib import Path
  from pygments.token import Token
  from prompt_toolkit.application import create_app_session
  from prompt_toolkit.shortcuts.prompt import PromptSession
  from prompt_toolkit.enums import EditingMode
  from prompt_toolkit.formatted_text import PygmentsTokens
  from prompt_toolkit.history import InMemoryHistory, FileHistory
  from concurrent.futures import ThreadPoolExecutor
  from prompt_toolkit import __version__
label_desc: Use image node_id 5 for calling the TerminalPdb obj's underlying member method code with example usage: obj.do_interact(arg) without return types