Case · Developer tool
@mars-tech/vite-debug-plugin
For a client — and every team that builds with Vite
Debug output he can read wherever the code runs — browser or server — and that never reaches production.
Open source · MIT · v1.0
01 The request · in our words
His debug logs in the Vite terminal too — not only in the browser.
02 The real need
Debug output he can read wherever the code runs — browser or server — and that never reaches production.
03 What we built
One global $debug() call that prints in the browser console and in the Vite terminal at once. The production build strips every call.
04 How we worked
A client needed it. We built it in the open, so he — and every Vite team — could use it. Documented in English and French, with a migration guide.
Open source · @mars-tech/vite-debug-plugin
Our standards, in public: anyone can read the code and the tests.
- 100%of lines and branches covered by tests
- 2,909automated tests, counted on 4 December 2026 on version 1.0
- Node 20, 22 and 24 × Vite 6, 7 and 8the combinations our continuous integration tests against
Read the code and the tests on GitLab (opens in a new tab)The package on npm (opens in a new tab)
MIT licence
05 It keeps growing
Version 1.0 adds live object inspection, a Vue DevTools timeline and a log file that tools and AI assistants can read.
Open source · MIT · v1.0
Built with
Vite 6–8TypeScriptNode