Adds useful debug features to your Electron app
86
DevToolsAPI.enterInspectElementMode() programmatic invocation
Imports electron-debug correctly
33%
100%
Uses default export for initialization
100%
100%
Uses devTools named export
50%
100%
Uses openDevTools named export
50%
100%
Window parameter handling
30%
100%
Proper function delegation
20%
100%
Window reload ignoring cache
Uses refresh function
50%
75%
Correct function signature
100%
100%
Delegates to electron-debug
60%
60%
Handles focused window
33%
53%
DevTools toggle (open/close)
Uses devTools function
0%
100%
Uses openDevTools function
0%
100%
Correct window parameter passing
0%
100%
DevTools state checking
100%
100%
Shallow merge pattern for options override
Spread Operator Usage
100%
100%
Selector Pattern Implementation
100%
100%
Boolean Return Handling
100%
100%
Partial Options Merge
100%
100%
No Selector Handling
100%
100%
Zero-configuration initialization
Import electron-debug
100%
100%
Call debug() function
100%
75%
Zero-configuration usage
53%
20%
Auto-show DevTools
66%
53%
Development mode detection
33%
20%
Use devTools API
0%
0%
Development mode auto-detection
Import electron-debug
100%
100%
Call debug function
100%
100%
Use isEnabled option
0%
25%
Auto-detection with null
0%
0%
Force enable with true
0%
53%
Force disable with false
0%
53%
Async app.whenReady() handling for accelerator registration
app.whenReady() usage
100%
100%
globalShortcut.register() calls
100%
100%
BrowserWindow.getFocusedWindow()
100%
100%
Window existence check
100%
100%
Reload with cache bypass
100%
100%
DevTools toggle logic
100%
100%
Element inspector activation
DevTools State Check
100%
100%
DevTools Opening
100%
100%
Inspector Activation Method
100%
100%
Async Event Handling
100%
100%
Direct Activation
100%
100%
electron-localshortcut integration for window-specific shortcuts
Imports electron-localshortcut
100%
100%
Uses register function
100%
100%
Uses unregister function
100%
100%
Uses unregisterAll function
100%
100%
Per-window registration
100%
100%
Event-driven initialization with browser-window-created hook
Package import
100%
100%
Initialization call
100%
100%
Initialization timing
100%
100%
Event-driven setup
100%
100%
Multi-window support
100%
100%
Install with Tessl CLI
npx tessl i tessl/npm-electron-debug