Use rspack.EvalSourceMapDevToolPlugin when running with Rspack The modification specifically pass the test case in: test/integration/server-side-dev-errors/test/index.test.js
using
See Testing for more information on how you can run/write/debug tests for Next.js.