Chrome DevTools Extension Β· Manifest V3

PAN Inspector

Professional debugging and inspection tool for Page Area Network (PAN) message bus.
Real-time monitoring, powerful filtering, and message replay for LARC applications.

View on GitHub Install Now Documentation

Features

πŸ”

Real-Time Message Monitoring

  • Captures all PAN messages (publish, deliver, subscribe)
  • Shows message details: topic, data, timestamp, target, size
  • Color-coded message types for quick identification
🎯

Powerful Filtering

  • Filter by topic, type, or data content
  • Toggle message types on/off
  • Search across all message properties
πŸ“Š

Message Inspector

  • Detailed view of message payload
  • JSON formatting with syntax highlighting
  • Copy message as JSON
πŸ”„

Message Replay

  • Replay any captured message
  • Perfect for debugging and testing
  • Works with live applications
πŸ’Ύ

Export/Import

  • Export message logs as JSON
  • Import logs for analysis
  • Share debugging sessions with team
⏸️

Recording Control

  • Pause/resume message capture
  • Clear message history
  • Real-time message counter

Installation

Get started in minutes with the PAN Inspector DevTools extension

1

Clone Repository

Clone the devtools repository to your local machine:

git clone https://github.com/larcjs/devtools.git

2

Open Chrome Extensions

Navigate to chrome://extensions/ and enable "Developer mode" in the top right corner.

3

Load Extension

Click "Load unpacked" and select the devtools-extension/ folder from the cloned repository.

4

Verify Installation

Open Chrome DevTools (F12) on any page. Look for the "PAN" tab to confirm successful installation.

βœ… Chrome 88+
βœ… Edge 88+
⏳ Firefox (Coming Soon)
❌ Safari

Quick Start Example

Test the PAN Inspector with this simple example

<!DOCTYPE html>
<!-- Save as test.html and open in Chrome -->
<html>
<head>
  <script type="module" src="../pan-bus.mjs"></script>
  <script type="module" src="../pan-client.mjs"></script>
</head>
<body>
  <pan-bus></pan-bus>
  <button id="test-btn">Send Test Message</button>

  <script type="module">
    import { PanClient } from '../pan-client.mjs';

    const client = new PanClient();
    await client.ready();

    document.getElementById('test-btn').onclick = () => {
      client.publish({
        topic: 'test.click',
        data: { timestamp: Date.now() }
      });
    };

    // Subscribe to see it work
    client.subscribe('test.*', (msg) => {
      console.log('Received:', msg);
    });
  </script>
</body>
</html>

1. Save the code above as test.html
2. Open it in Chrome
3. Open DevTools β†’ PAN tab
4. Click "Send Test Message"
5. See messages appear in the inspector!

Keyboard Shortcuts

Key Action
Ctrl/Cmd + K Focus filter input
Ctrl/Cmd + L Clear messages
Esc Close details panel
Space Pause/Resume recording

Ready to Debug?

Install the PAN Inspector and start debugging your LARC applications today

Install from GitHub Read Full Documentation Report an Issue