1.2.0 • Published 5 years ago

aws-lambda-node-debug v1.2.0

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

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
  2. 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*<br>
Relative file path of the lambda function you want to invoke

#### -h
*Optional*<br>
Handler method name

#### -d
*Required*<br>
Absolute file path of the event data json file

![alt text](http://drive.google.com/uc?export=view&id=1qD4be8g0-7Oh2DmtWRt_cDLGDntI2_1S)


## <a name="licensing"></a>Licensing

aws-lambda-node-debug is licensed under the [MIT License](./LICENSE.txt).

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.
1.2.0

5 years ago

1.1.0

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago