paint-brush
How to Debug AWS Lambda Code with PyCharmby@susamn
4,126 reads
4,126 reads

How to Debug AWS Lambda Code with PyCharm

by Supratim SamantaJuly 5th, 2021
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

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
Supratim Samanta

Supratim Samanta

@susamn

L O A D I N G
. . . comments & more!

About Author

Supratim Samanta HackerNoon profile picture
Supratim Samanta@susamn

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite