FAQ and troubleshooting
I opened the console and there is a lot here. Where do I start?
Start with Overview to see whether the app is healthy. Then use Requests or Endpoints to find what is slow, and Errors and Queries to find out why. Open Runtime and Profiler only when those point to CPU, memory or event-loop problems. The Diagnosis card suggests a next step.
The console is empty or shows no requests. What did I miss?
Check the startup log first: NodeUI prints a warning when it is inactive by config (for example
NODE_ENV=production or NODEUI_ENABLED=false). Then make sure the middleware or plugin is mounted before your routes (Express app.use(middleware), Fastify app.register(nodeui())), and send a request to your app so there is something to record. Do I need to install it in production, or keep it out of my build?
No. Install it as a dev dependency. The console is off when
NODE_ENV=production, and if you prune dev dependencies in production images, load it conditionally with a dynamic import() behind a NODE_ENV check (see the "How to Use It" steps). Will it slow my app down?
Disabled, the middleware is a plain
next(). Enabled, expect a fraction of a millisecond per request, and sampling sleeps when the console is idle. Use capture: 'lazy' for zero cost until you open the console. See Benchmarks for measured numbers. Why is the console only reachable from my local machine?
By default, NodeUI binds strictly to
127.0.0.1 and rejects non-loopback requests with 403 Forbidden. This is a crucial security barrier so sensitive runtime data and heap snapshots are never exposed to local networks or the public internet. If you need remote access for internal teams, place an authenticated reverse proxy in front of the application. Why does the Routes panel show "No Express router captured yet"?
NodeUI discovers Express routes lazily upon receiving the first request through the app router (Fastify, Hapi and Hono routes are collected from the framework as they are registered). Trigger any request against your backend API endpoints, then refresh the NodeUI dashboard. Koa and plain
node:http have no router to introspect; call server.setRoutes([...]) to list yours. How do I forward custom logger messages (Winston, Pino) to NodeUI?
NodeUI automatically captures native
console.log/info/warn/error. For external loggers, use the provided helper method on the server instance: server.addLogSource({ level: 'info', message: 'User logged in successfully' });
Why are my environment variables showing as [REDACTED]?
Keys containing terms like
KEY, SECRET, TOKEN, PASSWORD, or AUTH are automatically masked for safety. You can disable masking by passing maskSecrets: false in your configuration options. How does heap snapshot capture work with confirmation nonces?
Capturing heap snapshots is a mutating action. When triggered from the UI, a confirmation modal automatically requests a single-use nonce from
POST /nodeui/api/confirmations and passes it in the x-nodeui-confirm header to POST /nodeui/api/heap-snapshot. How is NodeUI different from Clinic.js?
Clinic.js runs a one-off, offline analysis (Doctor, Flame, Bubbleprof, Heap Profiler). NodeUI is embedded and always on while you develop: live metrics history, per-request timelines, load-test baselines, a rule-based Diagnosis card (similar in spirit to Clinic Doctor), plus CPU and heap-allocation profiles on demand. It has no async-flow (Bubbleprof) view, so use Clinic for that kind of deep dive.