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:

ParameterTypeDescription
devToolsWebContentsElectronWebContentsThe web contents to show DevTools in.

Returns: void