Debug lambda with VSCode

Pruthvi Vikram
2 min readJul 22, 2021

If you are reading this, I believe that you know what you are looking for and so, I am not going to waste any time explaining what individual piece is.

Lets dive right in…

Setup Environment

1. Create an AWS account / Login to existing account
2. Create an user with programmatic access in AWS IAM
3.Download and install Docker
4. Install VS Code and AWS CLI on your PC
5. Open your powershell /cmd and use the “aws configure” to setup aws credentials.
6. Install AWS toolkit in your VSCode as plug-in

You can find all the files, configuration and sample python to debug lambda script. FYI python is used for programming language.

Below is the folder structure you need to get this to work. Follow and let me know in the comments how it went. All the best.

--

--