rsnext/packages
Hendrik Liebau bda92a1be5
Fix VS Code debugging (#66254)
~Due to the entry preloading that was enabled by default in #65289, VS
Code is no longer able to map symbols correctly for production builds.
As a temporary solution, we can disable the preloading when a debugger
is started until a proper fix is found.~

By optionally building the Next.js source code with
`NEXT_SERVER_EVAL_SOURCE_MAPS=1` we can ensure, even with the bundled
next server in the node runtime, that the original names are shown in
the debug "Variables" section.

In addition, the `sourceMapPathOverrides` are improved to cover the
different variations of source mapping URLs. We can now also set
breakpoints in the `example/...` and `test/e2e/...` server components.

~Supersedes #66229~

#### Before

<img width="1276" alt="Screenshot 2024-05-27 at 21 36 52"
src="https://github.com/vercel/next.js/assets/761683/f2840c35-f683-445d-bc95-cac9f719d8e7">

#### After

<img width="1276" alt="Screenshot 2024-05-27 at 21 38 42"
src="https://github.com/vercel/next.js/assets/761683/c801c123-3163-46c3-b442-5b72c0a5d51d">
2024-07-05 16:04:35 +02:00
..
create-next-app Bump minimum Node.js version to 18.18 (up from 18.17) (#67274) 2024-07-05 09:21:57 +00:00
eslint-config-next Bump minimum Node.js version to 18.18 (up from 18.17) (#67274) 2024-07-05 09:21:57 +00:00
eslint-plugin-next v15.0.0-canary.55 2024-07-04 23:23:21 +00:00
font Update font data (#67472) 2024-07-05 09:22:24 +00:00
next Fix VS Code debugging (#66254) 2024-07-05 16:04:35 +02:00
next-bundle-analyzer v15.0.0-canary.55 2024-07-04 23:23:21 +00:00
next-codemod v15.0.0-canary.55 2024-07-04 23:23:21 +00:00
next-env v15.0.0-canary.55 2024-07-04 23:23:21 +00:00
next-mdx v15.0.0-canary.55 2024-07-04 23:23:21 +00:00
next-plugin-storybook v15.0.0-canary.55 2024-07-04 23:23:21 +00:00
next-polyfill-module v15.0.0-canary.55 2024-07-04 23:23:21 +00:00
next-polyfill-nomodule v15.0.0-canary.55 2024-07-04 23:23:21 +00:00
next-swc v15.0.0-canary.55 2024-07-04 23:23:21 +00:00
react-refresh-utils v15.0.0-canary.55 2024-07-04 23:23:21 +00:00
third-parties v15.0.0-canary.55 2024-07-04 23:23:21 +00:00