Created
January 29, 2020 17:14
-
-
Save Krasnov8953/2fd8e9c56277feba0730f986d915ab3f to your computer and use it in GitHub Desktop.
vscode debug config
This file contains hidden or 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
{ | |
// 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