| name | visual-debugger |
| description | Launch the browser-based simulation debugger |
| disable-model-invocation | true |
Visual Debugger
Launch the browser-based simulation debugger at http://127.0.0.1:8765.
Instructions
- Run:
python examples/visual_debugger.py
- This starts the debugger server in the background and opens the browser automatically
- Tell the user the server is running at http://127.0.0.1:8765
- Remind them to press Ctrl+C in the terminal to stop the server when done
Clean Build & Reset
If the debugger is showing stale UI that doesn't reflect recent frontend changes, do a full clean rebuild:
- Stop any running
serve() processes
- Delete built output:
rm -rf happysimulator/visual/static/*
- Delete TypeScript incremental cache:
rm visual-frontend/tsconfig.tsbuildinfo
- Rebuild from scratch:
cd visual-frontend && npm run build
- Restart the debugger:
python examples/visual_debugger.py
- Hard-refresh the browser with Ctrl+Shift+R (or open an incognito window) to bypass browser cache