Serenity Developer Tools
February 2, 2026 ยท View on GitHub
A Chromium DevTools extension for inspecting and debugging Serenity applications.

Features
- 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
- View Source: Instantly inspect the source code for widget constructors and methods
Installation
From Chrome Web Store
Download from Chrome Web Store
From Source
- 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
Development
Start the development server with hot reload:
pnpm run watch
Run with a test browser:
pnpm run dev:chromium
Usage
- Open Chrome DevTools (F12).
- Navigate to the
Serenitypanel. - Browse the widget tree or use the inspector to select widgets on the page, or press Ctrl + Shift + X to toggle inspect widget mode.
- Click on any widget to view its details, properties, and associated DOM element. The selected widget is saved to the developer console as
$\$0.
Scripts
| 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 |