aws-lambda-node-debug

1.2.0 • Public • Published

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.

Package Sidebar

Install

npm i aws-lambda-node-debug

Weekly Downloads

2

Version

1.2.0

License

MIT

Unpacked Size

8.57 kB

Total Files

10

Last publish

Collaborators

  • polinens