How to debug server side nextjs with turborepo? #66699
Unanswered
dennydharmawan
asked this question in
Help
Replies: 2 comments 1 reply
-
When the server runs, it often says in which port the inspector is attached, then you need to add that port to your Chrome Node.js inspector |
Beta Was this translation helpful? Give feedback.
1 reply
-
This worked for me when using nextjs 15:
I'm debugging a nextjs app located at Note for nextjs 15 the program file path had to be changed to find the right next binary (it was previously loading 14.x.x instead of 15) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
I followed the instructions on https://nextjs.org/docs/pages/building-your-application/configuring/debugging.
Already put cwd. but my breakpoint is still greyed out. I don't think I have the build source maps either. Do i need to tell nextjs to generate source map? not sure what I did wrong.
Additional information
No response
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions