This story on HackerNoon has a decentralized backup on Sia.
Transaction ID: _Pb1pL6rizrYhV4CFzLrsk6L606Qqe3BuAna3yMdf3A
Cover

How to Debug AWS Lambda Code with PyCharm

Written by @susamn | Published on 2021/7/5

TL;DR
PyCharm allows you to debug your code line by line in your local environment. Using the project structure, we can set up the code in VS Code also. We will create the environment where the Lambda function will run and use the real event to trigger the call. We must have the AWS credentials available in the home/aws/credentials configure. The full project is here. The events folder will have all the events which will invoke my function locally. The python folder and all the components inside it are the layer codes. We can add any number of layers here. We will add any third-party layer code also.

[story continues]


Written by
@susamn
I am a daddy, a coder, a tech blogger, a music lover, a photographer, and an all in all nerd.

Topics and
tags
lambda|aws-lambda|debugging|pycharm|python|aws-cli|programming|python-tutorials|web-monetization
This story on HackerNoon has a decentralized backup on Sia.
Transaction ID: _Pb1pL6rizrYhV4CFzLrsk6L606Qqe3BuAna3yMdf3A