Skip to content

Instantly share code, notes, and snippets.

@Krasnov8953
Created January 29, 2020 17:14
Show Gist options
  • Save Krasnov8953/2fd8e9c56277feba0730f986d915ab3f to your computer and use it in GitHub Desktop.
Save Krasnov8953/2fd8e9c56277feba0730f986d915ab3f to your computer and use it in GitHub Desktop.
vscode debug config
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "launch",
"name": "Next: Chrome",
"url": "http://localhost:3000",
"webRoot": "${workspaceFolder}"
},
{
"type": "node",
"request": "launch",
"name": "Next: Node",
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/next",
"runtimeArgs": [
// set custom port to run
"-p",
"3000"
],
"port": 9229,
"env": {
"NODE_OPTIONS": "--inspect"
}
}
],
"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