You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This has generally required creating a custom webpack config with next.js and telling it to use the webpack source-map-loader, since at the moment source resolution stops with index.js.
Describe the bug
When using a monorepo, binding breakpoints in a package does not work.
Breakpoints in the main app works as they should.
See sample repository for reproducable setup.
This could of course also just be a misconfiguration, but I cannot find any good documentation on how this should be set up.
To Reproduce
Steps to reproduce the behavior:
pnpm dev
in the root folder.apps/web/pages/api/hello.ts
on line 9.packages/lib/src/HelloWorld.ts
on line 2.apps/web/pages/api/hello.ts
is hit, while the one inpackages/lib/src/HelloWorld.ts
is notLog File
vscode-debugadapter-acbac098.json.zip
VS Code Version: 1.71.0
Tech Stack in Sample
launch.json
package.json (web)
package.json (lib)
Output from Debug Diagnostics
The text was updated successfully, but these errors were encountered: