How to Debug AWS Lambda Code with PyCharmby@susamn
2,095 reads

How to Debug AWS Lambda Code with PyCharm

July 5th 2021
3 min
by @susamn 2,095 reads
tldt arrow
Read on Terminal Reader🖨️

Too Long; Didn't Read

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.
featured image - How to Debug AWS Lambda Code with PyCharm
Supratim Samanta HackerNoon profile picture

@susamn

Supratim Samanta

About @susamn
LEARN MORE ABOUT @SUSAMN'S EXPERTISE AND PLACE ON THE INTERNET.
react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!
Hackernoon hq - po box 2206, edwards, colorado 81632, usa