Last active
October 1, 2025 14:15
-
-
Save tomdohnal/57a186cf52d39218ab9ea990cff2f09b to your computer and use it in GitHub Desktop.
Debugging Next.js in VSCode (with Turbopack) – launch.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "version": "0.2.0", | |
| "configurations": [ | |
| { | |
| "name": "Next.js: debug server-side", | |
| "port": 9230, | |
| "request": "attach", | |
| "skipFiles": [ | |
| "<node_internals>/**" | |
| ], | |
| "type": "node", | |
| "sourceMapPathOverrides": { | |
| "/turbopack/[project]/*": "${webRoot}/*" | |
| } | |
| }, | |
| { | |
| "type": "chrome", | |
| "request": "launch", | |
| "name": "Next.js: debug client-side", | |
| "url": "http://localhost:3000", | |
| "webRoot": "${workspaceFolder}", | |
| "sourceMapPathOverrides": { | |
| "/turbopack/[project]/*": "${webRoot}/*" | |
| } | |
| } | |
| ], | |
| "compounds": [ | |
| { | |
| "name": "Next.js: debug full stack", | |
| "configurations": ["Next.js: debug client-side", "Next.js: debug server-side"], | |
| "stopAll": true | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment