Created
August 13, 2023 09:46
-
-
Save akshayjai1/0795800857bff6ca9f80f65f50844b36 to your computer and use it in GitHub Desktop.
Next JS Debug configuration
This file contains 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", | |
"type": "node-terminal", | |
"request": "launch", | |
"command": "npm run dev:local" | |
}, | |
{ | |
"name": "Next.js: debug client-side", | |
"type": "chrome", | |
"request": "launch", | |
"url": "http://localhost:3000" | |
}, | |
{ | |
"name": "Next.js: debug full stack", | |
"type": "node-terminal", | |
"request": "launch", | |
"command": "npm run clean-dev:local", | |
"serverReadyAction": { | |
"pattern": "started server on .+, url: (https?://.+)", | |
"uriFormat": "%s", | |
"action": "debugWithChrome" | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment