How to debug a Next.js 14 app (app router) in VS Code?
Unanswered
African Slender-snouted Crocodil… posted this in #help-forum
African Slender-snouted CrocodileOP
I couldn't find any docs on this.
Can someone please guide me? 🙂
Can someone please guide me? 🙂
5 Replies
Chinese Chongqing Dog
What do you need to debug?
I found this article, but I never used a Debugger for Nextjs
https://nextjs.org/docs/pages/building-your-application/configuring/debugging
I found this article, but I never used a Debugger for Nextjs
https://nextjs.org/docs/pages/building-your-application/configuring/debugging
African Slender-snouted CrocodileOP
Yep, saw that.. but it's for the pages router..
I need to debug my .ts/.tsx files in my Next.js 14 app.
Chinese Chongqing Dog
Yeah, you can always use console.log to debug stuff, most of the time I don't need anything more for debugging
Also try the react dev tools for debugging, react specific stuff
https://chromewebstore.google.com/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi
https://chromewebstore.google.com/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi