Created
July 8, 2019 01:38
-
-
Save EdyVision/32999d8181fd5fe4536f671b498385cc to your computer and use it in GitHub Desktop.
VSCode Debugger Configurations for Serverless Projects
This file contains 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":"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