Last active
December 26, 2023 03:34
-
-
Save riandoza/bcc466281fcd9af2d5125dc4a8f222f2 to your computer and use it in GitHub Desktop.
Next.JS VSCode debug launch Brave Browser MacOS
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", | |
"type": "node-terminal", | |
"request": "launch", | |
"command": "yarn dev" | |
}, | |
{ | |
"name": "Next.js: debug client-side", | |
"type": "chrome", | |
"request": "launch", | |
"runtimeExecutable": "/Applications/Brave Browser.app/Contents/MacOS/Brave Browser", | |
"userDataDir": false, | |
"url": "http://localhost:3000", | |
"webRoot": "${workspaceFolder}" | |
}, | |
{ | |
"name": "Next.js: debug full stack", | |
"type": "node-terminal", | |
"request": "launch", | |
"command": "yarn dev", | |
"serverReadyAction": { | |
"pattern": "- Local:.+(https?://.+)", | |
"uriFormat": "%s", | |
"action": "openExternally" | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment