Created
September 15, 2024 18:27
-
-
Save tomdohnal/9a251c4e25136213509e5b1293ffc641 to your computer and use it in GitHub Desktop.
Debugging Next.js in VSCode (with Webpack) – 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" | |
| }, | |
| { | |
| "type": "chrome", | |
| "request": "launch", | |
| "name": "Next.js: debug client-side", | |
| "url": "http://localhost:3000", | |
| "webRoot": "${workspaceFolder}" | |
| } | |
| ], | |
| "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