A Chromium DevTools extension for inspecting and debugging Serenity applications.
- 🔍 Widget Inspector - Browse and inspect Serenity widgets in your application
- 🎯 Element Picker - Click on elements to find their corresponding widget
- 📋 Property Viewer - View widget properties, options, and state
- 🔗 DOM Highlighting - Highlight DOM elements associated with widgets
- 📍 Scroll Into View - Quickly navigate to widget elements in the page
- Clone this repository
- Install dependencies:
pnpm install
- Build the extension:
pnpm run build
- Load the extension in Chrome:
- Navigate to
chrome://extensions - Enable "Developer mode"
- Click "Load unpacked"
- Select the
distfolder
- Navigate to
Start the development server with hot reload:
pnpm run watchRun with a test browser:
pnpm run dev:chromium- Open Chrome DevTools (F12)
- Navigate to the "Serenity" panel
- Browse the widget tree or use the inspector to select widgets on the page
- Click on any widget to view its details, properties, and associated DOM element
| Command | Description |
|---|---|
pnpm run build |
Build for production |
pnpm run watch |
Development mode with hot reload |
pnpm run dev:chromium |
Run in Chromium with web-ext |
pnpm run lint |
Run ESLint |
pnpm run check |
TypeScript type checking |
