← Back to Debugger domain

Debugger.setInstrumentationBreakpoint

Sets instrumentation breakpoint.

Domain: Debugger stable

Parameters

NameTypeDescription
instrumentationstringInstrumentation name.

Returns

NameTypeDescription
breakpointIdBreakpointIdId of the created breakpoint for further reference.

Example Request

{
  "id": 1,
  "method": "Debugger.setInstrumentationBreakpoint",
  "params": {
    "instrumentation": "instrumentation-value"
  }
}

Example Response

{
  "id": 1,
  "result": {
    "breakpointId": "breakpointId-value"
  }
}

Usage in Node.js

const result = await send('Debugger.setInstrumentationBreakpoint', {"instrumentation": "instrumentation-value"});
console.log(result);
// {"breakpointId": "breakpointId-value"}