In-page DevTools for your web apps
Capture console logs and network requests in real-time with a lightweight, resizable panel that lives inside your app.
npm i dev-inspectorimport { initDevInspector } from "dev-inspector";
initDevInspector({
maxSize: 500,
networkOptions: { includeBodies: false },
panelOptions: { initiallyOpen: true, title: "Dev Inspector" },
});Browser-only: the UI needs document. For SSR frameworks, initialize client-side.
Features
A tiny, framework-agnostic DevTools panel that lives inside your app — perfect for QA, staging environments, and debugging on devices where browser DevTools are limited.
Console Logging
Intercepts log/info/warn/error/debug with structured output and rich JSON viewing.
Network Tracing
Captures fetch + XHR, status codes, timings, and request metadata in real-time.
In-memory Storage
Ring-buffer storage with events so the UI stays fast and predictable.
Resizable Panel
Drag to resize without leaving the viewport; tabs wrap nicely on small screens.
Framework Agnostic
Works with any web app. Just install and call initDevInspector().
Dev Inspector Playground
Use the buttons below to generate real console logs and network requests.
Then open the “Dev Inspector” panel in the bottom-right to inspect events in real-time.
Console
Click a button to trigger a real console call. Then inspect it in the panel.
Network
Click a button to make a real request. Inspect method, URL, status and bodies in the panel.
Ready. Use the playground below to generate console logs and network requests. The Dev Inspector panel is open in the bottom-right.