Skip to content

srikanthpolineni/aws-lambda-node-debug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aws-lambda-node-debug

Node module for debugging lambda in the VS code without docker.

Quick Start

  1. Install via npm:
npm install aws-lambda-node-debug --save-dev
  1. VS Code Debug Config:
{
  "version": "0.2.0",
  "configurations": [{
      "type": "node",
      "request": "launch",
      "name": "Lambda Debug",
      "cwd": "${workspaceFolder}",
      "program": "${workspaceFolder}\\hello-world\\node_modules\\aws-lambda-node-debug\\bin\\aws-lambda-node-debug",
      "args": [
          "-f",
          "lambdas/hello-world",
          "-h", 
          "handler",
          "-d",
          "lambdas/event.json"
      ]
  }]
}

Arguments

-f

Required
Relative file path of the lambda function you want to invoke

-h

Optional
Handler method name

-d

Required
Absolute file path of the event data json file

alt text

Licensing

aws-lambda-node-debug is licensed under the MIT License.

All files located in the node_modules and external directories are externally maintained libraries used by this software which have their own licenses; we recommend you read them, as their terms may differ from the terms in the MIT License.

About

Node module for debugging lambda in the VS code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published