Open andyvanosdale opened 4 months ago
I thought this might be a mono-repo causing issue but only realised late in the day that it was the components. Page and layout debug fine with breakpoints stopping the flow.
Have you found a solution for this?
Edit by maintainer bot: Comment was automatically minimized because it was considered unhelpful. (If you think this was by mistake, let us know). Please only comment if it adds context to the issue. If you want to express that you have the same problem, use the upvote 👍 on the issue description or subscribe to the issue for updates. Thanks!
I had this issue, couldn't attach any breakpoints and had a warning about link.js.map
not found with next dev
. That warning went away and I could attach a breakpoint with next dev --turbo
For me this was happening when trying to debug a serverless function with port forwarding to shopify using ngrok. I realized I stupidly didn't include the path after the forwarding url, '/api/shopify-sync', when adding the forwarding url to my shopify config. Once I added the actual path for the function breakpoints worked fine.
any update on a solution to this?
Edit by maintainer bot: Comment was automatically minimized because it was considered unhelpful. (If you think this was by mistake, let us know). Please only comment if it adds context to the issue. If you want to express that you have the same problem, use the upvote 👍 on the issue description or subscribe to the issue for updates. Thanks!
Link to the code that reproduces this issue
https://github.com/andyvanosdale/nextjs-vscode-debug-read-source-map-issue
To Reproduce
npx create-next-app
dev
Current vs. Expected behavior
Current behavior: VS Code's Debug Console shows this error:
This also occurs with:
link.js.map
image-component.map
Provide environment information
Which area(s) are affected? (Select all that apply)
Developer Experience
Which stage(s) are affected? (Select all that apply)
next dev (local)
Additional context
No response