Unbound Breakpoints when Debugging
Unanswered
American black bear posted this in #help-forum
American black bearOP
Hello,
I have a nextjs typescript app that I'm trying to debug in vscode on my windows machine.
I have followed the guidance from this guide
https://nextjs.org/docs/app/building-your-application/configuring/debugging
As such, I have modified my package.json dev script as recommended for windows, and I have copied the launch.json configuration that is provided.
I set a breakpoint in a route.ts file in my server side code and run the debugger. Immediately all breakpoints become unbound.
Upon inspecting my .next directory, I find no source map files.
I have also tried the guidance from the most upvoted post in this GitHub thread and it does not work for me.
https://github.com/vercel/next.js/discussions/24445#discussioncomment-1421462
For what it's worth, my friend who I am developing this project with had the same problem.
Any ideas?
Thank you all in advance!
I have a nextjs typescript app that I'm trying to debug in vscode on my windows machine.
I have followed the guidance from this guide
https://nextjs.org/docs/app/building-your-application/configuring/debugging
As such, I have modified my package.json dev script as recommended for windows, and I have copied the launch.json configuration that is provided.
I set a breakpoint in a route.ts file in my server side code and run the debugger. Immediately all breakpoints become unbound.
Upon inspecting my .next directory, I find no source map files.
I have also tried the guidance from the most upvoted post in this GitHub thread and it does not work for me.
https://github.com/vercel/next.js/discussions/24445#discussioncomment-1421462
For what it's worth, my friend who I am developing this project with had the same problem.
Any ideas?
Thank you all in advance!