Skip to content

Instantly share code, notes, and snippets.

@EdyVision
Created July 8, 2019 01:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save EdyVision/32999d8181fd5fe4536f671b498385cc to your computer and use it in GitHub Desktop.
Save EdyVision/32999d8181fd5fe4536f671b498385cc to your computer and use it in GitHub Desktop.
VSCode Debugger Configurations for Serverless Projects
{
// 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":"node",
"request":"launch",
"name":"Serverless Offline Debug",
"program":"${workspaceRoot}/node_modules/.bin/sls",
"args":[
"offline",
"--noAuth"
]
},
{
"type": "node",
"request": "launch",
"name": "Mocha Tests Debug",
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
"args": [
"--timeout",
"999999",
"--colors",
"'${workspaceFolder}/{,!(node_modules)/}*/*.test.js'"
],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen"
},
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment