chrome-devtools-kotlin / org.hildan.chrome.devtools.domains.debugger / DebuggerDomain / setBreakpointByUrl

setBreakpointByUrl

suspend fun setBreakpointByUrl(input: SetBreakpointByUrlRequest): SetBreakpointByUrlResponse

Sets JavaScript breakpoint at given location specified either by URL or URL regex. Once this command is issued, all existing parsed scripts will have breakpoints resolved and returned in locations property. Further matching script parsing will result in subsequent breakpointResolved events issued. This logical breakpoint will survive page reloads.

Official doc