Skip to content

Instantly share code, notes, and snippets.

@dpurrington
Created February 4, 2017 18:36
Show Gist options
  • Save dpurrington/d59c2ca2b5499eb500a04f0a1fec64ed to your computer and use it in GitHub Desktop.
Save dpurrington/d59c2ca2b5499eb500a04f0a1fec64ed to your computer and use it in GitHub Desktop.
{
// Use IntelliSense to learn about possible Node.js debug 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": "node",
"request": "launch",
"name": "Launch Program",
"program": "${workspaceRoot}/index.js",
"cwd": "${workspaceRoot}"
},
{
"type": "node",
"request": "attach",
"name": "Attach to Process",
"port": 5858
},
{
"name": "mocha",
"type": "node",
"request": "launch",
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha",
"stopOnEntry": false,
"args": [
"--no-timeouts",
"--colors",
"--recursive",
"${workspaceRoot}/functions/main/test/*.js"
],
"cwd": "${workspaceRoot}",
"runtimeExecutable": null,
"env": {
"NODE_ENV": "testing"
}
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment