Skip to content

1681-engine / electron / debuggerRequested

Function: debuggerRequested() ​

ts
function debuggerRequested(argv, hasSwitch?): boolean;

Defined in: src/electron/lockdownRules.ts:64

Whether the command line (argv, or a switch Chromium parsed: hasSwitch) asks for a debugger.

Parameters ​

ParameterType
argvreadonly string[]
hasSwitch(name) => boolean

Returns ​

boolean

Released under the MIT License.