Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/vitest-dev/vitest. Next generation testing framework powered by Vite. vitest.dev
test testing-tools vite
Something went wrong. Try again.
Markdown
title: disableConsoleIntercept | Config outline: deep #
disableConsoleIntercept #
- Type:
boolean - CLI:
--disableConsoleIntercept - Default:
false
By default, Vitest intercepts console output during tests to add context such as the test file and test title.
In browser mode, this interception is required to forward logs from the browser DevTools to the terminal. It is also required for console log previews in the Vitest UI.
Disabling console interception can be useful when you want to debug code with normal synchronous terminal logging.