code: def run_debugger(
      frames: list[debugger_core.DebuggerFrame],
      thread_id: int | None,
      **kwargs: Any,
  ):
      WebDebugger(frames, thread_id, **kwargs).run()
  
file_path: jax/jax/_src/debugger/web_debugger.py
imports: from __future__ import annotations
  import os
  from typing import Any
  import weakref
  from jax._src.debugger import cli_debugger
  from jax._src.debugger import core
label_desc: Use image node_id 1 for calling a global function with example usage: run_debugger(frames, thread_id) without return types