Next.js Discord

Discord Forum

Best way to debug production bug

Answered
Colombian fino hound posted this in #help-forum
Open in Discord
Colombian fino houndOP
I do not see this on my local build, but get it on production. What is the best way to debug this?
Answered by Colombian fino hound
I added Sentry, with sourcemaps, and could see it. It was from using Preact instead of React in combo w/ the new app router
View full answer

2 Replies

have you tried using npm run build and starting it locally?
Colombian fino houndOP
I added Sentry, with sourcemaps, and could see it. It was from using Preact instead of React in combo w/ the new app router
Answer