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

{
  "context": "This evaluation criteria assesses how well the engineer uses the electron-debug package to implement DevTools control functionality. The focus is on proper utilization of the package's toggle and open APIs, understanding of window parameter handling, and appropriate DevTools state checking.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses devTools function",
      "description": "Implementation correctly imports and uses the `devTools()` function from electron-debug to toggle DevTools open/closed state in the toggleDevTools function",
      "max_score": 30
    },
    {
      "name": "Uses openDevTools function",
      "description": "Implementation correctly imports and uses the `openDevTools()` function from electron-debug to explicitly open DevTools in the openDevTools function",
      "max_score": 25
    },
    {
      "name": "Correct window parameter passing",
      "description": "Implementation properly passes the window parameter to electron-debug functions (devTools and openDevTools), allowing the functions to default to focused window when no window is provided",
      "max_score": 20
    },
    {
      "name": "DevTools state checking",
      "description": "Implementation correctly checks DevTools state using Electron's BrowserWindow webContents.isDevToolsOpened() method or equivalent to determine if DevTools are currently open",
      "max_score": 25
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/npm-electron-debug

tile.json