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-6/

{
  "context": "This criteria evaluates how well the engineer uses the electron-debug package to implement automatic development mode detection and environment-aware debug initialization. The focus is specifically on utilizing the package's isEnabled option and its three-state logic (true/false/null) for auto-detection.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Import electron-debug",
      "description": "Correctly imports the electron-debug package using require() or import statement",
      "max_score": 10
    },
    {
      "name": "Call debug function",
      "description": "Calls the default export function from electron-debug to initialize debug features",
      "max_score": 15
    },
    {
      "name": "Use isEnabled option",
      "description": "Utilizes the isEnabled configuration option when calling the debug function",
      "max_score": 20
    },
    {
      "name": "Auto-detection with null",
      "description": "Uses null or omits isEnabled to leverage automatic development mode detection via electron-is-dev",
      "max_score": 25
    },
    {
      "name": "Force enable with true",
      "description": "Sets isEnabled to true to explicitly enable debug features regardless of environment",
      "max_score": 15
    },
    {
      "name": "Force disable with false",
      "description": "Sets isEnabled to false to explicitly disable debug features regardless of environment",
      "max_score": 15
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/npm-electron-debug

tile.json