code: func (remote *RemoteDebugger) DomainEvents(domain string, enable bool) error {
  	method := domain
  
  	if enable {
  		method += ".enable"
  	} else {
  		method += ".disable"
  	}
  
  	_, err := remote.SendRequest(method, nil)
  	return err
  }
docs: // DomainEvents enables event listening in the specified domain.