A Chrome DevTools extension for viewing Django DevBar performance metrics directly in your browser's developer tools.
- Real-time Metrics: View DB time, app time, total time, and query count for each request
- Duplicate Query Detection: See duplicate queries highlighted with details
- Request History: Track the last 50 requests in your session
- Native DevTools UI: Seamlessly integrated into Chrome DevTools
-
Install the Extension
Option A - Chrome Web Store (recommended): Install directly from the Chrome Web Store.
About Permissions: Chrome shows a broad permissions warning during install, but this extension only runs on
localhostand127.0.0.1for local Django development. It cannot access other websites.Option B - Development Mode:
- Open Chrome and navigate to
chrome://extensions/ - Enable "Developer mode" (toggle in the top-right corner)
- Click "Load unpacked"
- Select the
chrome-extensiondirectory from this repository
- Open Chrome and navigate to
-
Use the Extension
- Open Chrome DevTools (F12 or right-click → Inspect)
- Navigate to the "Django DevBar" tab
- Visit any page running Django with DevBar middleware enabled
- Metrics will appear automatically in the DevTools panel
npm install # Install dependencies
npm run build # Build extension to dist/
npm run zip # Create zip for Chrome Web Store
npm run generate-icons # Generate icon sizes from icon.svg- Edit the source files
- Run
npm run buildto update dist/ - Go to
chrome://extensions/ - Click the refresh icon on the Django DevBar extension
- Reload DevTools