How to debug in Visual Studio Code
I'm running the project locally in Visual Studio Code, but I'm having trouble debugging. My breakpoints aren't marked in red, and my code doesn't stop at the breakpoints.
here is my lanuch json: { "version": "0.2.0", "configurations": [ { "name": "Next.js: debug full stack", "type": "node-terminal", "request": "launch", "command": "npm run dev:full", "skipFiles": ["<node_internals>/**"], "sourceMaps": true, "sourceMapPathOverrides": { "/turbopack/[project]/": "${webRoot}/" }, "serverReadyAction": { "action": "debugWithEdge", "killOnServerStop": true, "pattern": "- Location:.+(https?://.+)", "uriFormat": "%s", "webRoot": "${workspaceFolder}" } } ] }
Does anyone know how to run it in debugger mode in Visual Studio Code?