Created
September 4, 2022 23:17
-
-
Save luizhcrocha/5116485e6b95310c6fcfe82b66519ce5 to your computer and use it in GitHub Desktop.
Basic vscode launch settings for Next.js
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" | |
}, | |
{ | |
"name": "Next.js: debug client-side", | |
"type": "msedge", | |
"request": "launch", | |
"url": "http://localhost:3000" | |
}, | |
{ | |
"name": "Next.js: debug full stack", | |
"type": "node-terminal", | |
"request": "launch", | |
"command": "npm run dev", | |
"serverReadyAction": { | |
"pattern": "started server on .+, url: (https?://.+)", | |
"uriFormat": "%s", | |
"action": "debugWithEdge" | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment