Skip to content

Debug lambda using VScode #49

@vinyoliver

Description

@vinyoliver

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"]
    }
  ]
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions