aws-lambda-node-debug
v1.2.0
Published
Node module for debugging lambda in the VS code without docker
Downloads
7
Readme
aws-lambda-node-debug
Node module for debugging lambda in the VS code without docker.
Quick Start
- Install via npm:
npm install aws-lambda-node-debug --save-dev
- 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
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.