code: def set_trace(frame=None):
      """
      Start debugging from `frame`.
  
      If frame is not specified, debugging starts from caller's frame.
      """
      TerminalPdb().set_trace(frame or sys._getframe().f_back)
  
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 1 for calling a global function with example usage: set_trace(frame) without return types