My project structure
package.json // -> pnpm run dev
turbo.json
apps
nextjsApp
package.json // pnpm run dev
tsConfig.json
packages
uiLib
package.json
tsConfig.json
I want to debug the nextjsApp and especially the server side.
-
I tried the configuration given by next team but sadly does not work: https://nextjs.org/docs/pages/building-your-application/configuring/debugging
-
I tried to add
cwd:{workspace}/.../nextjsApp
and the breakpoints working but the project is not fully up so there are errors. -
I tried to change add
webRoot:{workspace}/.../nextjsApp
and the breakpoints working but in pure js without source maps.