Skip to content

Instantly share code, notes, and snippets.

@felipekm
Created February 17, 2019 21:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save felipekm/93dd68a8e78abf33696c1bf2dcfdeef7 to your computer and use it in GitHub Desktop.
Save felipekm/93dd68a8e78abf33696c1bf2dcfdeef7 to your computer and use it in GitHub Desktop.
VS Code nextjs debug
{
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "launch",
"name": "Next: Chrome",
"url": "http://localhost:3000",
"webRoot": "${workspaceFolder}",
"sourceMapPathOverrides": {
"webpack:///*": "${webRoot}/*"
},
},
{
"type": "node",
"request": "launch",
"name": "Next: Node",
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/next",
"runtimeArgs": [
"--inspect"
],
"sourceMapPathOverrides": {
"webpack:///*": "${workspaceFolder}/*"
},
"port": 9229,
"console": "integratedTerminal"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment