Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 501 Bytes

README.md

File metadata and controls

25 lines (20 loc) · 501 Bytes

AWS Lambda Debug Local Machine

This project guides how to debug an aws lambda on local machine with nodejs and python

NodeJS

Install library
npm install -g lambda-local
Run command debug lambda
lambda-local -l index.js -h handler -e debug/event.js --envfile debug/env

Python

Install library
pip install python-lambda-local
Run command debug lambda
python-lambda-local -f handler -e debug/env.json function.py debug/event.json