DevTools for Vitest
DevTools for Vitest (@vitejs/devtools-vitest) is a built-in integration that brings the Vitest UI into the DevTools dock.
What it does
- Test UI in the dock — run and watch your test suite without leaving DevTools.
- On-demand launch — the dock appears once your project depends on
vitest; launching it installs@vitest/ui, startsvitest --ui, and embeds it as an iframe.
Getting started
DevTools for Vitest ships with Vite DevTools. Open the Vitest dock in a project that uses Vitest and click launch — the UI installs and starts on first use. See Getting Started to set up Vite DevTools.