Core Debug
When to use
Use core-debug when the app is broken but you don't yet know whether the root cause is a runtime/HMR issue, a network/data problem, or a framework state bug.
This is the broad first-pass capability. It classifies the failure and routes you to the right next step.
Typical symptoms
- "The page is broken"
- "The component state looks wrong"
- "Something changed and the UI is weird"
Sequence
bash
vite-browser open <url>
vite-browser detect
vite-browser vite runtime
vite-browser errors --mapped --inline-source
vite-browser logsThen inspect framework state based on what detect returned:
- Vue:
vue tree,vue pinia,vue router - React:
react tree - Svelte:
svelte tree
Cross-check when needed:
bash
vite-browser network
vite-browser screenshot
vite-browser eval '<script>'Routing out
Move to Runtime Diagnostics when:
- The issue appeared right after a code edit or hot update
- Logs mention HMR, reloads, import failures, or websocket instability
- The page unexpectedly full-reloads
Move to Network Regression when:
- The main symptom is wrong or missing data
- Network entries show 4xx, 5xx, auth, or CORS problems
Expected output
- Confirmed symptom
- Most likely failure class (runtime / network / state)
- Evidence commands and key output
- Confidence level
- Recommended next capability