DOMDebugger.getEventListeners

Returns event listeners of the given object.

{
  "name": "getEventListeners",
  "experimental": true,
  "parameters": [
    {
      "name": "objectId",
      "$ref": "Runtime.RemoteObjectId",
      "description": "Identifier of the object to return listeners for."
    }
  ],
  "returns": [
    {
      "name": "listeners",
      "type": "array",
      "items": {
        "$ref": "EventListener"
      },
      "description": "Array of relevant listeners."
    }
  ],
  "description": "Returns event listeners of the given object."
}