Skip to content
Configurationnext.config.jsbrowserDebugInfoInTerminal

browserDebugInfoInTerminal

Last updated October 10, 2025

This configuration option has been moved to logging.browserToTerminal.

Migration

To migrate to the new configuration, replace experimental.browserDebugInfoInTerminal with logging.browserToTerminal:

next.config.js
// Before
module.exports = {
  experimental: {
    browserDebugInfoInTerminal: true,
  },
}
 
// After
module.exports = {
  logging: {
    browserToTerminal: true,
  },
}

The new logging.browserToTerminal option supports the log level values (true, 'warn', 'error'). Note that the object configuration options (depthLimit, edgeLimit, showSourceLocation) are no longer available in the new configuration.

VersionChanges
v15.4.0experimental browserDebugInfoInTerminal introduced
v16.2.xMoved to stable as logging.browserToTerminal

Was this helpful?

supported.