Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debug lambda using VScode #49

Open
vinyoliver opened this issue Oct 2, 2019 · 0 comments
Open

Debug lambda using VScode #49

vinyoliver opened this issue Oct 2, 2019 · 0 comments

Comments

@vinyoliver
Copy link

vinyoliver commented Oct 2, 2019

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"]
    }
  ]
}
@vinyoliver vinyoliver changed the title Debug functions using VScode Debug lambda using VScode Oct 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants