Debugger.getPossibleBreakpoints

Returns possible locations for breakpoint. scriptId in start and end range locations should be the same.

{
  "name": "getPossibleBreakpoints",
  "parameters": [
    {
      "name": "start",
      "$ref": "Location",
      "description": "Start of range to search possible breakpoint locations in."
    },
    {
      "name": "end",
      "$ref": "Location",
      "description": "End of range to search possible breakpoint locations in (excluding). When not specified, end of scripts is used as end of range."
    }
  ],
  "returns": [
    {
      "name": "locations",
      "$ref": "BreakLocation",
      "description": "List of the possible breakpoint locations."
    }
  ],
  "description": "Returns possible locations for breakpoint. scriptId in start and end range locations should be the same."
}