serverless-nodejs-starter
serverless-nodejs-starter copied to clipboard
Debug lambda using VScode
Hi there,
I'm facing some trouble trying to debug the lambda using vscode. For some reason, it doesn't execute my lambda. When I run through the console using "sls invoke local -f signUp" runs fine. Bellow is my launch.json
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Debug Serverless",
"program": "${workspaceRoot}/node_modules/.bin/sls",
"args": ["invoke", "local", "-f", "signUp"]
}
]
}