boolean
true
Controls whether to forward browser runtime errors to the terminal.
When true
, the Rsbuild client listens for window error
events in the browser and send them to the dev server, where they are printed in the terminal (prefixed with [browser]
).
For example, if you have the following code in your application:
The browser will throw an error, and Rsbuild will forward this error to the terminal:
Set dev.browserLogs
to false
to disable this behavior.