Adds useful debug features to your Electron app
86
Build a simple Electron application with a debug configuration system that automatically detects the environment and conditionally enables debugging features based on whether the app is running in development or production mode.
Create an Electron application with the following components:
Create a main process (main.js) that:
Your solution must:
Implement a configuration system that supports:
Write test cases that verify:
@generates
/**
* Initializes debug features for the Electron application
* @param {Object} options - Configuration options
* @param {boolean|null} options.isEnabled - Enable/disable debug (null for auto-detect)
*/
function initDebug(options);Provides debug features for Electron applications with automatic environment detection.
Electron framework for building cross-platform desktop applications.
Install with Tessl CLI
npx tessl i tessl/npm-electron-debugdocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10