Home / devtools / QUICK_START

PAN DevTools Extension - Quick Start

โœ… Configuration Complete!

The extension is now configured to load automatically with chrome-devtools MCP.

๐Ÿ”„ Next: Restart Claude Desktop

IMPORTANT: MCP server configuration only loads on startup.
  • Quit Claude Desktop: Cmd+Q (or File โ†’ Quit)
  • Reopen Claude Desktop: Launch from Applications
  • Wait 5-10 seconds: For MCP servers to initialize
  • โœ“ Verify Extension Loaded

    After restart, when you use chrome-devtools tools, the extension will be loaded automatically.

    Test It

    Use these commands in conversation with me:

    Can you navigate to http://localhost:8080/playground/ and check if the PAN DevTools extension loaded?

    I'll check for:

    • Console message: [PAN DevTools] Injected and monitoring PAN messages
    • API available: window.__panDevTools
    • DevTools panel: "PAN" tab visible

    ๐Ÿ“ What Changed

    File: /Users/cdr/Library/Application Support/Claude/claude_desktop_config.json Added:
    "chrome-devtools": {
      "command": "npx",
      "args": [
        "chrome-devtools-mcp",
        "--chrome-arg=--load-extension=/Users/cdr/Projects/larc-repos/devtools",
        "--chrome-arg=--disable-extensions-except=/Users/cdr/Projects/larc-repos/devtools"
      ]
    }

    ๐ŸŽฏ What You'll Get

    DevTools Panel

    • Real-time PAN message display
    • Message filtering and search
    • Component inspection
    • Message replay
    • Statistics dashboard

    Console Logging

    [PAN DevTools] Intercepted event: pan:publish
    [PAN DevTools] Posting message to content script

    Browser API

    window.__panDevTools.getHistory()      // All messages
    window.__panDevTools.getComponents()   // All components
    window.__panDevTools.getStats()        // Statistics
    window.__panDevTools.clearHistory()    // Clear logs
    window.__panDevTools.replay(id)        // Replay message

    ๐Ÿ” How to Use

  • Open Playground: Navigate to http://localhost:8080/playground/
  • Open DevTools: Press F12 or Cmd+Option+I
  • Find PAN Tab: Look in top toolbar (between Elements, Console, etc.)
  • Interact with Examples: Load any example and interact with components
  • Watch Messages: See PAN messages appear in real-time
  • ๐Ÿ“š Full Documentation

    • Extension Setup: EXTENSION_ENABLED.md
    • Session Fixes: ../playground/SESSION_FIXES_SUMMARY.md
    • MCP Setup: CHROME_DEVTOOLS_MCP_EXTENSION_SETUP.md

    ๐ŸŽ‰ That's It!

    Just restart Claude Desktop and the extension will work automatically with all chrome-devtools MCP tools!