Debugger Type
⚠ Process Availability: Main ✔ | Renderer ❌ | Utility ❌ | Exported ❌
Instance members
| Instance member |
Description
|
Full Usage:
this.attach ?protocolVersion
Parameters:
string
Modifiers: inline |
Attaches the debugger to the webContents.
|
Full Usage:
this.detach ()
Modifiers: inline |
Detaches the debugger from the webContents. |
Full Usage:
this.isAttached ()
Returns: bool
Modifiers: inline |
Whether a debugger is attached to the webContents.
|
|
Emitted when the debugging session is terminated. This happens either when webContents is closed or devtools is invoked for the attached webContents.
|
|
Emitted when the debugging session is terminated. This happens either when webContents is closed or devtools is invoked for the attached webContents.
|
|
Emitted whenever the debugging target issues an instrumentation event.
|
Full Usage:
this.offMessage handler
Parameters:
Event -> string -> obj -> string -> unit
Modifiers: inline |
Emitted whenever the debugging target issues an instrumentation event.
|
|
Emitted when the debugging session is terminated. This happens either when webContents is closed or devtools is invoked for the attached webContents.
|
|
Emitted when the debugging session is terminated. This happens either when webContents is closed or devtools is invoked for the attached webContents.
|
|
Emitted whenever the debugging target issues an instrumentation event.
|
Full Usage:
this.onMessage handler
Parameters:
Event -> string -> obj -> string -> unit
Modifiers: inline |
Emitted whenever the debugging target issues an instrumentation event.
|
|
Emitted when the debugging session is terminated. This happens either when webContents is closed or devtools is invoked for the attached webContents.
|
|
Emitted when the debugging session is terminated. This happens either when webContents is closed or devtools is invoked for the attached webContents.
|
|
Emitted whenever the debugging target issues an instrumentation event.
|
Full Usage:
this.onceMessage handler
Parameters:
Event -> string -> obj -> string -> unit
Modifiers: inline |
Emitted whenever the debugging target issues an instrumentation event.
|
Full Usage:
this.sendCommand (method, ?commandParams, ?sessionId)
Parameters:
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.
|
fable-electron-docs-api