Debugging Next.JS Best Practices: Logs and Tracing

Next.js applications can be challenging to debug in production. It’s not always clear where an issue originated or how it impacts users. Hydration errors, server component failures, and performance bottlenecks don’t always come with clear answers.

In this hands-on workshop we’ll cover:

  • Writing high-context logs that tell the whole story — not just that something failed, but who, what, and why
  • Querying and alerting on logs to catch silent failures in auth flows, payments, webhooks, and third-party API calls
  • Deep diving into distributed tracing across client and Node runtimes
  • Connecting logs to traces so you get full context without switching tools

New to Sentry for Next.js? Start here first: Observing and Debugging Next.js Apps with Sentry: A Hands-on Session

Syntax.fm logo

Listen to the Syntax Podcast

Of course we sponsor a developer podcast. Check it out on your favorite listening platform.

Listen To Syntax