Skip to content

Instantly share code, notes, and snippets.

@riandoza
Last active December 26, 2023 03:34
Show Gist options
  • Save riandoza/bcc466281fcd9af2d5125dc4a8f222f2 to your computer and use it in GitHub Desktop.
Save riandoza/bcc466281fcd9af2d5125dc4a8f222f2 to your computer and use it in GitHub Desktop.
Next.JS VSCode debug launch Brave Browser MacOS
{
"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