Skip to content

Signals & Confidence

How to read vite-browser diagnostic output.

Signal types

vite-browser combines several classes of runtime evidence:

SignalExample commandsWeight
Current errorserrors --mappedStrong anchor
Recent HMR updatesvite hmr traceStrong when fresh
Module graph changesvite module-graph traceGood for dependency issues
Framework statevue tree, react treeGood for state bugs
Store changesvue piniaTiming-sensitive
Logs & networklogs, networkSupporting evidence

Current errors and recent HMR updates are usually the strongest anchor points. Render-path and store-path clues are valuable but more timing-sensitive.

Reading correlation output

correlate errors

Answers: Which recent update most likely matches the error I see right now?

Strongest when:

  • The repro just happened
  • The current error stack is still visible
  • The module update window is narrow

correlate renders

Answers: Did a recent state or module change plausibly flow into this render path?

Read as narrowing evidence, not a strict replay of framework internals.

diagnose propagation

Provides a rule-based summary across available store, render, and error evidence.

Designed to stay conservative when the evidence chain is incomplete.

Confidence levels

High confidence

A strong debugging lead. Not mathematical proof, but usually enough to prioritize the next file or repro step.

Medium / plausible

Directional — enough to narrow a suspect set, not enough to claim root cause.

Weak or absent

Gather a fresher repro, reduce the event window, or inspect adjacent signals like logs or network state.

Best practices

  • Start with errors --mapped --inline-source when source context matters
  • Use short windows (5000 ms) for live repro loops
  • Re-run commands after reload or navigation to keep the view current
  • Let the strongest signal drive the next step

MIT Licensed