-
Notifications
You must be signed in to change notification settings - Fork 27k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sourcemaps broken in simplest example #2990
Comments
cc @kpdecker since you updated the sourcemaps 👌 |
I have this problem too and I'm surprised more developers are not complaining about this issue. Is there a workaround for this? |
I've updated the testcase repository to React v0.16.x and Next.js ^4.0.3, and can confirm the issue persists in the updated versions. |
I've also seen this issue in our app |
#3121 fixes both the immediate issue here and another where breakpoints were lost in Chrome on every page refresh. |
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread. |
Expected Behavior
I'd expect sourcemaps of a basic module to enable breakpoint selection on all lines, except those clearly represented differently through transpilation.
Current Behavior
A basic component is not debuggable with sourcemaps: clicking on a line to set a breakpoint does not set a breakpoint at that line.
Steps to Reproduce (for bugs)
Single page with the source:
Setting a breakpoint on the line
Is not possible:
Context
This makes debugging applications quite difficult.
Your Environment
The text was updated successfully, but these errors were encountered: