Adds keyboard shortcuts and DevTools automation to Electron apps for easier debugging during development.
electron-debug is a utility library that adds debugging enhancements to Electron applications. It provides keyboard shortcuts for common debugging actions like toggling DevTools, reloading windows, and opening the Element Inspector. The library solves the problem of manually setting up debugging shortcuts and DevTools automation during Electron app development.
Electron developers building desktop applications who want to streamline their debugging workflow during development.
Developers choose electron-debug because it offers a zero-configuration setup with sensible defaults, works automatically in development environments, and saves time by eliminating manual debugging shortcut configuration.
Adds useful debug features to your Electron app
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Uses electron-is-dev to only activate in development by default, eliminating the need for manual production guards as stated in the API section.
Provides standardized keyboard shortcuts for DevTools, reload, and element inspector across macOS, Linux, and Windows, detailed in the Features list.
Allows custom options per window via the windowSelector function, enabling tailored debugging behavior as described in the API options.
With sensible defaults, simply importing and calling debug() sets up essential debugging shortcuts without additional setup, as shown in the Usage example.
Requires Electron 30 or later, which may not support projects using older or legacy versions, as noted in the Install section.
Limited to toggle, reload, and inspect shortcuts; lacks built-in tools for error handling or advanced debugging like performance profiling.
Default shortcuts might conflict with app-specific key bindings, and while configurable, it requires manual adjustment without built-in conflict resolution.