You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bernatfortet
changed the title
Erratic debugging/breakpoint behavior with turbopack
Erratic debugging/breakpoint behavior with turbopack (and Cursor?)
May 20, 2025
Link to the code that reproduces this issue
https://github.com/bernatfortet/reproduction-app
To Reproduce
In the reproduction app I've changed:
.vscode/launch.json
file and add what the Guides: Debugging page mentions to use for debugging with next.jssrc/app/page.tsx
add a console log right below the Home function:Current vs. Expected behavior
Expected behavior: The breakpoint stops on the console log consistently on every refresh.
Behavior 1:
Behavior 2:
Behavior 3:

Provide environment information
Node.js v23.3.0 Operating System: Platform: darwin Arch: arm64 Version: Darwin Kernel Version 23.5.0: Wed May 1 20:12:58 PDT 2024; root:xnu-10063.121.3~5/RELEASE_ARM64_T6000 Available memory (MB): 32768 Available CPU cores: 10 Binaries: Node: 23.3.0 npm: 10.9.0 Yarn: 1.22.22 pnpm: N/A Relevant Packages: next: 15.4.0-canary.43 // Latest available version is detected (15.4.0-canary.43). eslint-config-next: N/A react: 19.1.0 react-dom: 19.1.0 typescript: 5.8.3 Next.js Config: output: N/A
Which area(s) are affected? (Select all that apply)
Turbopack
Which stage(s) are affected? (Select all that apply)
next dev (local)
Additional context
^15.4.0-canary.43
The text was updated successfully, but these errors were encountered: