Debugger.BreakpointAction

Action to perform when a breakpoint is triggered.

{
  "id": "BreakpointAction",
  "type": "object",
  "properties": [
    {
      "name": "type",
      "type": "string",
      "enum": [
        "log",
        "evaluate",
        "sound",
        "probe"
      ],
      "description": "Different kinds of breakpoint actions."
    },
    {
      "name": "data",
      "type": "string",
      "optional": true,
      "description": "Data associated with this breakpoint type (e.g. for type \"eval\" this is the JavaScript string to evalulate)."
    },
    {
      "name": "id",
      "$ref": "BreakpointActionIdentifier",
      "optional": true,
      "description": "A frontend-assigned identifier for this breakpoint action."
    }
  ],
  "description": "Action to perform when a breakpoint is triggered."
}