Skip to content

Instantly share code, notes, and snippets.

@johncokos
Created April 22, 2020 05:49
Show Gist options
  • Save johncokos/30dcc08b73a235cdec96cc4c466a1fb2 to your computer and use it in GitHub Desktop.
Save johncokos/30dcc08b73a235cdec96cc4c466a1fb2 to your computer and use it in GitHub Desktop.
VSC Debuggers
{
"version": "1.0.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Nodemon: Current File",
"cwd": "${fileDirname}",
"runtimeExecutable": "nodemon",
"args": [],
"stopOnEntry": false,
"runtimeArgs": [
"--nolazy"
],
"preLaunchTask": null,
"env": {
"NODE_ENV": "development",
"LOG_LEVEL": "debug"
},
"console": "internalConsole",
"program": "${file}",
"outFiles": [],
"restart": true
},
{
"type": "node",
"request": "launch",
"name": "Node: Current File",
"cwd": "${fileDirname}",
"runtimeExecutable": "node",
"args": [],
"stopOnEntry": false,
"runtimeArgs": [
"--nolazy"
],
"preLaunchTask": null,
"env": {
"NODE_ENV": "development",
"LOG_LEVEL": "debug"
},
"console": "internalConsole",
"program": "${file}",
"outFiles": []
},
{
"type": "node",
"request": "attach",
"name": "Attach",
"port": 5858,
"address": "localhost",
"restart": true,
"sourceMaps": false,
"outFiles": [],
"localRoot": "${fileDirname}",
"processId": "${command:PickProcess}",
"remoteRoot": null,
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment