← Back to Debugger domain
Debugger.getPossibleBreakpoints
Returns possible locations for breakpoint. scriptId in start and end range locations should be
the same.
Domain: Debugger
stable
Parameters
| Name | Type | Description |
start | Location | Start of range to search possible breakpoint locations in. |
end (optional) | Location | End of range to search possible breakpoint locations in (excluding). When not specified, end
of scripts is used as end of range. |
restrictToFunction (optional) | boolean | Only consider locations which are in the same (non-nested) function as start. |
Returns
| Name | Type | Description |
locations | array | List of the possible breakpoint locations. |
Example Request
{
"id": 1,
"method": "Debugger.getPossibleBreakpoints",
"params": {
"start": "start-value"
}
}
Example Response
{
"id": 1,
"result": {
"locations": []
}
}
Usage in Node.js
const result = await send('Debugger.getPossibleBreakpoints', {"start": "start-value"});
console.log(result);
// {"locations": []}