setBreakpoint
suspend fun setBreakpoint(args: Debugger.SetBreakpointParameter, mode: CommandMode = CommandMode.DEFAULT): Debugger.SetBreakpointReturn
Sets JavaScript breakpoint at a given location.
suspend fun setBreakpoint(location: Debugger.Location, condition: String? = null): Debugger.SetBreakpointReturn
Sets JavaScript breakpoint at a given location.
Parameters
location
Location to set breakpoint in.
condition
Expression to use as a breakpoint condition. When specified, debugger will only stop on the breakpoint if this expression evaluates to true.