A debug console that shows up even when your app doesn't
Virtual Console injects before your bundle even runs — so you get logs, an object inspector, and a live REPL whether your app boots, crashes, or never starts at all. Mobile-friendly. Nothing phones home.
or press Shift + C, or long-press with two fingers on mobile
{a: 1, b: [1, 2, 3]}Survives a crash
Injects before your app's own bundle runs, so it's still there even if React never mounts.
Mobile-friendly
Two-finger long-press to open on a phone or tablet — no keyboard required.
Object inspector
Expandable viewer for objects, arrays, Maps, and Sets — click to drill in, just like DevTools.
Live REPL
A real eval-backed console with syntax highlighting, history, and inline autocomplete.
Five themes
VS Code, Chrome Light, Dracula, Nord, and Tokyo Night — or bring your own.
Zero telemetry
Fully local. Nothing you log — or that the console logs about itself — leaves the page.
Drop it in
Two lines. No provider, no context, no framework lock-in.
import { installVirtualConsole } from '@codehacks/virtual-console';
import '@codehacks/virtual-console/styles.css';
installVirtualConsole();Or use the Vite plugin to inject it before your app bundle even runs — full setup in the README