code: def set_debug_mode(debug=True):
      
      global debug_mode
      global _setting_keep_wirevector_call_stack
      global _setting_slower_but_more_descriptive_tmps
      debug_mode = debug
      _setting_keep_wirevector_call_stack = debug
      _setting_slower_but_more_descriptive_tmps = debug
docs: Set the global debug mode.