Guidance on debugging Catalyst #1666
-
Hello! Ever since the We're using VSCode via WSL on Windows 11. Our previously working {
"version": "0.2.0",
"configurations": [
{
"name": "Next.js: debug server-side",
"type": "node-terminal",
"request": "launch",
"command": "pnpm run dev",
"cwd": "${workspaceFolder}/core"
},
{
"name": "Next.js: debug client-side",
"type": "chrome",
"request": "launch",
"url": "http://localhost:3000"
},
{
"name": "Next.js: debug client-side (Firefox)",
"type": "firefox",
"request": "launch",
"url": "http://localhost:3000",
"reAttach": true,
"pathMappings": [
{
"url": "webpack://_N_E",
"path": "${workspaceFolder}"
}
]
},
{
"name": "Next.js: debug full stack",
"type": "node",
"request": "launch",
"program": "${workspaceFolder}/node_modules/.bin/next",
"runtimeArgs": ["--inspect"],
"skipFiles": ["<node_internals>/**"],
"serverReadyAction": {
"action": "debugWithEdge",
"killOnServerStop": true,
"pattern": "- Local:.+(https?://.+)",
"uriFormat": "%s",
"webRoot": "${workspaceFolder}"
}
}
]
} Any guidance would be appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
This seems related, are you seeing a similar error? Is it not working on any of those profiles (ie: server-side / full stack)? Or are some of them working? |
Beta Was this translation helpful? Give feedback.
-
Also hitting this issue with VSCode on Windows. Updating turbo to 2.3.3 doesn't help. Turbopack is also causing breakpoints to be unbound in the vanilla Next.Js app |
Beta Was this translation helpful? Give feedback.
-
We ended up removing the |
Beta Was this translation helpful? Give feedback.
We ended up removing the
--turbo
flag as it does cause issues, not just with debugging. I think this is the path forward until the Next.js team releases the flag as stable.