Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

chore: enable browser logs in terminal (#8935)

Nimar17e600f65e76
diff --git a/web/next.config.mjs b/web/next.config.mjs
index 71c868d711..aaad03be92 100644
--- a/web/next.config.mjs
+++ b/web/next.config.mjs
@@ -68,15 +68,17 @@ const nextConfig = {
// this is an ugly hack to get turbopack to work with react-resizable, used in the
// web/src/features/widgets/components/DashboardGrid.tsx file. This **only** affects
// the dev server. The CSS is included in the non-turbopack based prod build anyways.
+ // Also not needed for the non-turbopack based dev server.
"react-resizable/css/styles.css":
"../node_modules/.pnpm/[email protected][email protected][email protected][email protected]/node_modules/react-resizable/css/styles.css",
},
},
- // TODO: enable with new next version! 15.6
- // see: https://nextjs.org/docs/app/api-reference/config/next-config-js/turbopackPersistentCaching
- // experimental:{
- // turbopackPersistentCaching: true,
- // },
+ experimental: {
+ browserDebugInfoInTerminal: true, // Logs browser logs to terminal
+ // TODO: enable with new next version! 15.6
+ // see: https://nextjs.org/docs/app/api-reference/config/next-config-js/turbopackPersistentCaching
+ // turbopackPersistentCaching: true,
+ },
/**
* If you have `experimental: { appDir: true }` set, then you must comment the below `i18n` config