docs: def init_debug():
      """Initialise debug_stats and QueueLength (this is not a reset)"""
      global debug_stats
      global QueueLength
      if debug_stats is None:
          list_defaultdict = partial(defaultdict, list)
          debug_stats = defaultdict(list_defaultdict)
          QueueLength = []