code: def set_debug_function(
      func_cb=debug.print_to_stdout,
      warnings=True,
      notices=True,
      speed=True,
  ):
      """
      Define a callback debug function to get all the debug messages.
  
      If you don't specify any arguments, debug messages will be printed to stdout.
  
      :param func_cb: The callback function for debug messages, with n params.
      """
      debug.debug_function = func_cb
      debug.enable_warning = warnings
      debug.enable_notice = notices
      debug.enable_speed = speed
  
imports: import os
  import sys
  import warnings
  import parso
  from parso.python import tree
  from jedi._compatibility import force_unicode, is_py3
  from jedi.parser_utils import get_executable_nodes
  from jedi import debug
  from jedi import settings
  from jedi import cache
  from jedi.api import classes
  from jedi.api import interpreter
  from jedi.api import helpers
  from jedi.api.completion import Completion
  from jedi.api.environment import InterpreterEnvironment
  from jedi.api.project import get_default_project
  from jedi.evaluate import Evaluator
  from jedi.evaluate import imports
  from jedi.evaluate import usages
  from jedi.evaluate.arguments import try_iter_content
  from jedi.evaluate.helpers import get_module_names, evaluate_call_of_leaf
  from jedi.evaluate.sys_path import dotted_path_in_sys_path
  from jedi.evaluate.filters import TreeNameDefinition, ParamName
  from jedi.evaluate.syntax_tree import tree_name_to_contexts
  from jedi.evaluate.context import ModuleContext
  from jedi.evaluate.context.iterable import unpack_tuple_to_dict
label_desc: Use image node_id 3 for calling a global function with example usage: set_debug_function(func_cb, warnings, notices, speed) without return types