code: def debug_text_world(self, text: str, pos: Union[Unit, Point2, Point3], color=None, size: int = 8):
          
          if isinstance(pos, Point2) and not isinstance(pos, Point3):  # a Point3 is also a Point2
              pos = Point3((pos.x, pos.y, 0))
          self._debug_texts.append(self.to_debug_message(text, color, pos, size))
docs: Draws a text at Point3 position. Don't forget to add 'await self._client.send_debug'.
          To grab a unit's 3d position, use unit.position3d
          Usually the Z value of a Point3 is between 8 and 14 (except for flying units)