code: def set_debug_options(options: Optional[DebugOptions]):
      global _debug_opts
      _debug_opts = options
  
      # deliver debug config to native codes for optimization
      from .core import set_debug_options as core_set_debug_options
  
      core_set_debug_options(options)
  
imports: import asyncio.tasks
  import contextvars
  import json
  import logging
  import os
  import time
  from contextlib import contextmanager
  from dataclasses import dataclass
  from typing import List, Optional
  from ..utils import dataslots
label_desc: Use image node_id 2 for calling a global function with example usage: set_debug_options(options) without return types