Debugger

external class Debugger : <ERROR CLASS> ERROR CLASS: Symbol not found for NodeEventEmitter(source)

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
val detachEvent: ERROR CLASS: Symbol not found for node.events.EventInstance<ERROR CLASS: Symbol not found for js.array.Tuple2<electron/core/Event<*>, kotlin/String>>
Link copied to clipboard
val messageEvent: ERROR CLASS: Symbol not found for node.events.EventInstance<ERROR CLASS: Symbol not found for js.array.Tuple4<electron/core/Event<*>, kotlin/String, kotlin/Any?, kotlin/String>>

Functions

Link copied to clipboard
fun attach(protocolVersion: String = definedExternally)

Attaches the debugger to the webContents.

Link copied to clipboard
fun detach()

Detaches the debugger from the webContents.

Link copied to clipboard

Whether a debugger is attached to the webContents.

Link copied to clipboard
fun sendCommand(method: String, commandParams: Any? = definedExternally, sessionId: String = definedExternally): ERROR CLASS: Symbol not found for Promise<kotlin/Any?>

A promise that resolves with the response defined by the 'returns' attribute of the command description in the remote debugging protocol or is rejected indicating the failure of the command.