Skip to content

ElectronWebContents.setDevToolsWebContents method

ElectronWebContents › setDevToolsWebContents

Unofficial

Uses the given web contents as the target to show DevTools.

Signature:

setDevToolsWebContents(devToolsWebContents: ElectronWebContents): void

Parameters:

Parameter Type Description
devToolsWebContents ElectronWebContents The web contents to show DevTools in.

Returns: void