Skip to content
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

Cannot debug Next15 using turbopack on windows #72789

Open
leandroluk opened this issue Nov 14, 2024 · 3 comments
Open

Cannot debug Next15 using turbopack on windows #72789

leandroluk opened this issue Nov 14, 2024 · 3 comments
Labels
bug Issue was opened via the bug report template. Turbopack Related to Turbopack with Next.js.

Comments

@leandroluk
Copy link

Link to the code that reproduces this issue

https://github.com/leandroluk/bug-next15-debug-with-turbopack

To Reproduce

  1. Install dependencies
  2. Select "turbo" in "Run and Debug" menu
  3. Select "Browser Debug" in running bar and this error message will appear:

image

  1. When select "webpack" in "Run and Debug" menu and look for "Browser Debug" the error doesnt appear and any breakpoint works.

Current vs. Expected behavior

Are expected to debug works like webpack.

Provide environment information

Operating System:
  Platform: win32
  Arch: x64
  Version: Windows 11 Home Single Language
  Available memory (MB): 32453
  Available CPU cores: 20
Binaries:
  Node: 20.17.0
  npm: 10.9.0
  Yarn: 1.22.22
  pnpm: 9.11.0
Relevant Packages:
  next: 15.0.3 // Latest available version is detected (15.0.3).
  eslint-config-next: 15.0.3
  react: 19.0.0-rc-66855b96-20241106
  react-dom: 19.0.0-rc-66855b96-20241106
  typescript: 5.6.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

No response

@leandroluk leandroluk added the bug Issue was opened via the bug report template. label Nov 14, 2024
@github-actions github-actions bot added the Turbopack Related to Turbopack with Next.js. label Nov 14, 2024
@piperubio
Copy link

Hi @leandroluk. I'm experiencing the same behavior on my machine with Windows 10, vscode 1.95.2 and npm. Could you consider adding the context that this issue occurs in VSCode and including the launch.json file in your example repo? I hope this helps to resolve the issue. Thanks! 👍

@unstubbable
Copy link
Contributor

Yeah, if you could provide the launch config, we can take a closer look.

@ethanforvest
Copy link

ethanforvest commented Dec 2, 2024

Try out Node v22.11.0 (LTS)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue was opened via the bug report template. Turbopack Related to Turbopack with Next.js.
Projects
None yet
Development

No branches or pull requests

4 participants