Skip to content

Instantly share code, notes, and snippets.

@xeptore
Created April 19, 2019 04:26
Show Gist options
  • Save xeptore/53241d08436606837774ccf0511d8659 to your computer and use it in GitHub Desktop.
Save xeptore/53241d08436606837774ccf0511d8659 to your computer and use it in GitHub Desktop.
VSCode Next.js v8 debugging compounded configuration
{
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "launch",
"name": "Next: Chrome",
"url": "http://localhost:3000",
"sourceMapPathOverrides": {
"webpack:///*": "${webRoot}/*"
},
"webRoot": "${workspaceFolder}"
},
{
"type": "node",
"request": "launch",
"name": "Next: Node",
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/next",
"sourceMapPathOverrides": {
"webpack:///*": "${workspaceFolder}/*"
},
"env": {
"NODE_OPTIONS": "--inspect"
},
"port": 9229,
"console": "integratedTerminal"
}
],
"compounds": [
{
"name": "Next: Full",
"configurations": [
"Next: Node",
"Next: Chrome"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment