{
  "id": 17368791,
  "title": "Haunted DevTools: A Local AI Debugger for Errors That Refuse to Stay Dead",
  "url": "https://urgent.news/2026/10/31/haunted-devtools-a-local-ai-debugger-for-errors-that-refuse-to-stay",
  "topic": "ai",
  "section": "AI",
  "published": "2026-10-31T08:34:20.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/codersvader/haunted-devtools-a-local-ai-debugger-for-errors-that-refuse-to-stay-dead-3fip"
  },
  "original_language": "en",
  "account": "This is a story about Haunted DevTools, an innovative Chrome DevTools extension developed by a coder named CodersVader. The extension turns browser errors into structured case files instead of endless console output. It monitors the inspected page for uncaught JavaScript errors, unhandled Promise rejections, and failed HTTP requests. All related errors are grouped under a unique fingerprint, making each bug incident identifiable and manageable.\n\nHaunted DevTools uses local open-weight models, like Ollama, to diagnose the issues. It sends a sanitized event summary to the chosen model and asks for a structured JSON response containing severity, likely cause, observed evidence, confidence level, and a suggested fix. The model's response is validated before it is displayed. If the model's response doesn't match the expected format, Haunted DevTools classifies it as an unstructured fallback rather than a verified diagnosis.\n\nThe extension allows developers to choose their diagnostic model and control how data is handled. Up to three unexorcised incidents exist in the current DevTools session, while exorcised case files are stored securely in the developer's Chrome extension local storage. The extension doesn't send any sensitive information, such as request and response bodies, cookies, authorization headers, or local storage values, to the AI model.\n\nThe project's source code is available on GitHub, enabling developers to customize the extension according to their needs. Debugging, often considered a spooky and elusive task, becomes more structured and manageable with Haunted DevTools. The extension's local diagnosis, stable grouping of incidents, and persistent history create a practical workflow that helps developers tackle recurring errors effectively.",
  "summary": "This is a submission for the Hacktoberfest Open-Source AI Challenge Week 4: Ghost in the Machine What I Built I built Haunted DevTools , a local-first Chrome DevTools extension that turns browser failures into case files instead of a noisy stream of console output. It watches the inspected page for uncaught JavaScript errors, unhandled Promise rejections, and failed HTTP requests. Related…",
  "key_points": [
    "Haunted DevTools extension turns browser errors into structured case files",
    "Uses local open-weight models like Ollama to diagnose issues",
    "Allows developers to choose diagnostic model and control data handling"
  ],
  "editors_take": "By transforming chaotic console logs into structured case files through local models, this tool shifts debugging from a reactive hunt into a manageable and privacy-conscious diagnostic workflow.",
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}