code: func (remote *RemoteDebugger) CallbackEvent(method string, cb EventCallback) {
  	remote.Lock()
  	remote.callbacks[method] = cb
  	remote.Unlock()
  }
docs: // CallbackEvent sets a callback for the specified event.