MCPcopy Create free account
hub / github.com/Kong/insomnia / getDebugModeLabel

Function getDebugModeLabel

packages/insomnia/src/main/window-utils.ts:49–49  ·  view source on GitHub ↗
(debugMode: boolean)

Source from the content-addressed store, hash-verified

47let isWatchingDebugMode = false;
48
49const getDebugModeLabel = (debugMode: boolean) => `${debugMode ? 'Disable' : 'Enable'} Debug Mode`;
50
51function trackDebugModeMenuItem(menuItem: MenuItem | null, window: ElectronBrowserWindow) {
52 if (!menuItem) {

Callers 2

trackDebugModeMenuItemFunction · 0.85
createWindowFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected