enable

suspend fun enable(args: Debugger.EnableParameter, mode: CommandMode = CommandMode.DEFAULT): Debugger.EnableReturn

Enables debugger for the given page. Clients should not assume that the debugging has been enabled until the result for this command is received.


suspend fun enable(maxScriptsCacheSize: Double? = null): Debugger.EnableReturn

Enables debugger for the given page. Clients should not assume that the debugging has been enabled until the result for this command is received.

Parameters

maxScriptsCacheSize

The maximum size in bytes of collected scripts (not referenced by other heap objects) the debugger can hold. Puts no limit if parameter is omitted.