CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-electron-debug

Adds useful debug features to your Electron app

86

1.19x
Overview
Eval results
Files

rubric.jsonevals/scenario-10/

{
  "context": "This criteria evaluates the engineer's understanding and usage of electron-debug's event-driven initialization capability. Specifically, it assesses whether the engineer properly uses the package to automatically set up development tools for all windows through the browser-window-created event hook, rather than manually initializing tools for each window.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Package import",
      "description": "The electron-debug package is properly imported/required in the main process file",
      "max_score": 10
    },
    {
      "name": "Initialization call",
      "description": "The debug() function (default export from electron-debug) is called to initialize the package",
      "max_score": 20
    },
    {
      "name": "Initialization timing",
      "description": "The debug() initialization is called before windows are created (e.g., before or within app.whenReady() callback) to ensure the browser-window-created event listener is registered in time",
      "max_score": 25
    },
    {
      "name": "Event-driven setup",
      "description": "The implementation relies on electron-debug's automatic event-driven initialization rather than manually calling devTools/openDevTools functions for each window individually",
      "max_score": 30
    },
    {
      "name": "Multi-window support",
      "description": "The solution demonstrates that development tools work automatically on multiple windows (both main and child windows) without window-specific initialization code",
      "max_score": 15
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/npm-electron-debug

tile.json