v1.0 Now Available for Chromium Browsers

Debug Faster.
Reduce Context Switch.

A DevTools extension that bridges the gap between your errors and AI-powered debugging assistance. No more jumping between tabs.

Start Debugging Star on GitHub
damn.js DevTools Extension Demo

Designed for Flow

Everything you need to solve bugs without leaving the browser. Built for developers who value speed and context.

Real-Time Mirroring

Instantly captures console errors, promise rejections, and window events. They appear in a dedicated panel, clean and filterable.

✖ Error: Network request failed at fetchUserData (api.js:42) at App.js:15

AI Explanation

One-click analysis powered by Gemini & GPT-4. Understand the "why" instantly.

Gemini

The "Spell" Generator

Auto-generates context-rich prompts for Claude or ChatGPT. Don't copy-paste stack traces manually.

Zero Config Architecture

Works out of the box. No npm packages to install in your project. Just load the extension and go.

How It Works

A simple, secure pipeline from error to solution.

1. Capture

Injected script hooks into browser error events on any webpage automatically.

2. Bridge

Content script forwards errors securely to the isolated extension environment.

3. Enhance

Backend API analyzes the error using AI models when you click "Explain".

4. Generate

Use the "Spell" feature to generate custom AI prompts for deeper debugging insights and tailored solutions.

Comparison

Why damn.js?

See how damn.js transforms your debugging workflow from tedious to seamless.

The Old Way

Manual, time-consuming, context-switching workflow

  • Read cryptic stack traces and error messages
  • Google the error and skim Stack Overflow
  • Copy-paste errors into AI chat manually
  • Manually explain context and codebase
  • Switch between multiple tabs and tools
~15-30 minutes per bug

The damn.js Way

Automated, instant, zero context-switching solution

  • Errors automatically captured in DevTools
  • AI explains errors with one click instantly
  • Context-rich prompts auto-generated
  • Everything in one unified DevTools panel
  • Zero context switching or copy-pasting
~30 seconds per bug
Lightning Fast
Debug errors in seconds instead of minutes
Zero Switching
Stay focused in your DevTools panel
Full Context
All error details automatically captured

Ready to debug smarter?

Open source and free to use locally. Join developers who are debugging faster.

git clone https://github.com/AnanthuNarashimman/damn.js
View on GitHub
Check the README for installation and setup instructions