code: def _debug_listen_endpoint(s):
      parts = s.split(":", 1)
      if len(parts) == 2:
          return (parts[0], _debug_endpoint_port(parts[1]))
      return ("127.0.0.1", _debug_endpoint_port(parts[0]))
  
imports: import logging
  import os
  from guild import cli
  from guild import config
  from guild import log
label_desc: Use image node_id 8 for calling a global function with example usage: _debug_listen_endpoint(s) and returns: str,  _debug_endpoint_port, parts,  _debug_endpoint_port