setBreakpointOnFunctionCall
suspend fun setBreakpointOnFunctionCall(args: Debugger.SetBreakpointOnFunctionCallParameter, mode: CommandMode = CommandMode.DEFAULT): Debugger.SetBreakpointOnFunctionCallReturn
Sets JavaScript breakpoint before each call to the given function. If another function was created from the same source as a given one, calling it will also trigger the breakpoint.
suspend fun setBreakpointOnFunctionCall(objectId: String, condition: String? = null): Debugger.SetBreakpointOnFunctionCallReturn
Sets JavaScript breakpoint before each call to the given function. If another function was created from the same source as a given one, calling it will also trigger the breakpoint.
Parameters
objectId
Function object id.
condition
Expression to use as a breakpoint condition. When specified, debugger will stop on the breakpoint if this expression evaluates to true.