SourceMaps don't bind on latest next.js version server side (Docker) #854
Closed
Description
opened on Nov 11, 2020
Describe the bug
Next.js now uses eval-source-map
from version 9 onwards.
It looks like eval-source-map
generates webpack-internal:///./
references.
I added the settings below but it makes no difference:
"sourceMapPathOverrides": {
"webpack-internal:///./": "${workspaceFolder}/"
}
I wonder if
vscode-js-debug/src/targets/browser/browserPathResolver.ts
Lines 111 to 113 in e2191de
Should webpack-internal:///./
be added to this list?
vscode-js-debug/src/configuration.ts
Lines 931 to 939 in 4d7737f
To Reproduce
Steps to reproduce the behavior:
- Clone https://github.com/jasonwilliams/nextjs9-typescript-server-vscode-example
- yarn install
docker-composer up
- Launch -> launch server (Docker)
- set a breakpoint in pages/index.tsx
Log File
VS Code Version: 1.51
Activity