Created
February 17, 2019 21:56
-
-
Save felipekm/93dd68a8e78abf33696c1bf2dcfdeef7 to your computer and use it in GitHub Desktop.
VS Code nextjs debug
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": [ | |
{ | |
"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