code: func (remote *RemoteDebugger) AllEvents(enable bool) error {
  	domains, err := remote.GetDomains()
  	if err != nil {
  		return err
  	}
  
  	for _, domain := range domains {
  		if err := remote.DomainEvents(domain.Name, enable); err != nil {
  			return err
  		}
  	}
  
  	return nil
  }
docs: // AllEvents enables event listening for all domains.