Header menu logo fable-electron-docs-api

Debugger Type

⚠ Process Availability: Main ✔ | Renderer ❌ | Utility ❌ | Exported ❌

Instance members

Instance member Description

this.attach ?protocolVersion

Full Usage: this.attach ?protocolVersion

Parameters:
    ?protocolVersion : string

Modifiers: inline

Attaches the debugger to the webContents.

?protocolVersion : string

this.detach ()

Full Usage: this.detach ()

Modifiers: inline

Detaches the debugger from the webContents.

this.isAttached ()

Full Usage: this.isAttached ()

Returns: bool
Modifiers: inline

Whether a debugger is attached to the webContents.

Returns: bool

this.offDetach handler

Full Usage: this.offDetach handler

Parameters:
Modifiers: inline

Emitted when the debugging session is terminated. This happens either when webContents is closed or devtools is invoked for the attached webContents.

handler : IOnDetach -> unit

this.offDetach handler

Full Usage: this.offDetach handler

Parameters:
    handler : Event -> string -> unit

Modifiers: inline

Emitted when the debugging session is terminated. This happens either when webContents is closed or devtools is invoked for the attached webContents.

handler : Event -> string -> unit

this.offMessage handler

Full Usage: this.offMessage handler

Parameters:
Modifiers: inline

Emitted whenever the debugging target issues an instrumentation event.

handler : IOnMessage -> unit

this.offMessage handler

Full Usage: this.offMessage handler

Parameters:
    handler : Event -> string -> obj -> string -> unit

Modifiers: inline

Emitted whenever the debugging target issues an instrumentation event.

handler : Event -> string -> obj -> string -> unit

this.onDetach handler

Full Usage: this.onDetach handler

Parameters:
Modifiers: inline

Emitted when the debugging session is terminated. This happens either when webContents is closed or devtools is invoked for the attached webContents.

handler : IOnDetach -> unit

this.onDetach handler

Full Usage: this.onDetach handler

Parameters:
    handler : Event -> string -> unit

Modifiers: inline

Emitted when the debugging session is terminated. This happens either when webContents is closed or devtools is invoked for the attached webContents.

handler : Event -> string -> unit

this.onMessage handler

Full Usage: this.onMessage handler

Parameters:
Modifiers: inline

Emitted whenever the debugging target issues an instrumentation event.

handler : IOnMessage -> unit

this.onMessage handler

Full Usage: this.onMessage handler

Parameters:
    handler : Event -> string -> obj -> string -> unit

Modifiers: inline

Emitted whenever the debugging target issues an instrumentation event.

handler : Event -> string -> obj -> string -> unit

this.onceDetach handler

Full Usage: this.onceDetach handler

Parameters:
Modifiers: inline

Emitted when the debugging session is terminated. This happens either when webContents is closed or devtools is invoked for the attached webContents.

handler : IOnDetach -> unit

this.onceDetach handler

Full Usage: this.onceDetach handler

Parameters:
    handler : Event -> string -> unit

Modifiers: inline

Emitted when the debugging session is terminated. This happens either when webContents is closed or devtools is invoked for the attached webContents.

handler : Event -> string -> unit

this.onceMessage handler

Full Usage: this.onceMessage handler

Parameters:
Modifiers: inline

Emitted whenever the debugging target issues an instrumentation event.

handler : IOnMessage -> unit

this.onceMessage handler

Full Usage: this.onceMessage handler

Parameters:
    handler : Event -> string -> obj -> string -> unit

Modifiers: inline

Emitted whenever the debugging target issues an instrumentation event.

handler : Event -> string -> obj -> string -> unit

this.sendCommand (method, ?commandParams, ?sessionId)

Full Usage: this.sendCommand (method, ?commandParams, ?sessionId)

Parameters:
    method : string
    ?commandParams : obj
    ?sessionId : string

Returns: Promise<obj>
Modifiers: inline

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.Send given command to the debugging target.

method : string
?commandParams : obj
?sessionId : string
Returns: Promise<obj>

Type something to start searching.