Last active
January 27, 2019 10:43
-
-
Save peacefulseeker/9de2870ee3cb2284926941b3ecab02b3 to your computer and use it in GitHub Desktop.
BackEnd and FrontEnd Debug config for VSCode
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
{ | |
"configurations": [ | |
{"source": "https://github.com/Microsoft/vscode-recipes/tree/master/nodemon"}, | |
{ | |
"debug": "nodemon -e --inspect-brk js,graphql -x node src/index.js" | |
}, | |
{ | |
"type": "node", | |
"request": "attach", | |
"name": "BackEnd - Nodemon Debug", | |
"processId": "${command:PickProcess}", | |
"restart": true, | |
"protocol": "inspector", | |
}, | |
{ | |
"debug": "node --inspect-brk=9229 server.js" | |
}, | |
{ | |
"name": "FrontEnd - Debug", | |
"type": "node", | |
"request": "launch", | |
"cwd": "${workspaceFolder}", | |
"runtimeExecutable": "npm", | |
"runtimeArgs": [ | |
"run-script", | |
"debug" | |
], | |
"port": 9229 | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment