๐ฅ Install the Extension
Load the Mosqit extension in Chrome to start debugging with AI-powered insights.
Quick Install Steps:
- Open
chrome://extensions/in Chrome - Enable "Developer mode" (top right)
- Click "Load unpacked"
- Select the
dist/extensionfolder
๐ค Enable Chrome AI (Optional)
Get intelligent error analysis powered by Chrome's built-in AI (Gemini Nano).
AI Setup (2 minutes):
- Open
chrome://flagsin a new tab - Search for:
Prompt API for Gemini Nano - Set it to: "Enabled"
- Search for:
Gemini Nano - Set it to: "Enabled"
- Restart Chrome completely
Test AI is working:
// Open Console (F12) and run:
await ai.languageModel.create();
// Should return: LanguageModel object๐ง Open Mosqit DevTools
Access the Mosqit panel to start seeing intelligent error insights.
Open the Panel:
- Visit any website (try
example.com) - Press F12 or right-click โ "Inspect"
- Look for the "Mosqit" tab in DevTools
- Click it to open the panel
๐งช Test with Real Errors
Trigger some errors to see Mosqit's AI analysis in action.
Try these in the Console:
// Null reference error
const user = null;
console.log(user.name);
// Undefined function
someFunction();
// Type error
const num = 5;
num.toUppercase();What You'll See:
- ๐ค "AI is analyzing..." indicator appears
- โจ AI-powered analysis with fix suggestions (1-2 seconds)
- ๐ File location and line number
- ๐ฏ Smart context about what went wrong
๐ Visual Bug Reporter
Report visual bugs by clicking elements directly on the page. Captures screenshots, context, and element details automatically.
How to Use Visual Bug Reporter:
- In Mosqit DevTools panel, find the ๐ Visual Bug Reporter button (toolbar, top right)
- Click it to switch from Logs view to Visual Bug Reporter view
- Click the "Start Capture Mode" button
- Hover over any element on the page (you'll see blue highlighting)
- Click the element you want to report
What Gets Captured:
- ๐ธ Screenshot - Visual snapshot of the element and surrounding area
- ๐ฏ Element Selector - CSS selector, XPath, and DOM position
- ๐จ Computed Styles - Colors, fonts, dimensions, spacing
- ๐ Context - Page URL, viewport size, browser info
- ๐ Element Tree - Parent and child elements hierarchy
โก Key Features
Quick overview of what makes Mosqit powerful.
Smart Capture
Automatically captures console.error(), console.warn(), and uncaught exceptions
AI Analysis
Chrome's Gemini Nano analyzes errors and suggests fixes instantly
Pattern Detection
Identifies recurring errors and common patterns
Zero Persistence
Ephemeral like native console - no data left behind
Visual Inspector
Click any element to capture screenshots and context
Privacy First
All processing happens locally - nothing sent to servers
๐ก Pro Tips
Get the most out of Mosqit with these tips.
DEBUG = true in source files to see internal logs๐ Quick Reference
Keyboard Shortcuts
- F12 - Open DevTools
- Ctrl/Cmd + K - Clear console
- Ctrl/Cmd + F - Search logs
Panel Controls
- ๐๏ธ Clear - Clear all logs
- ๐ Filters - Toggle log levels
- ๐ Search - Find specific errors