Testing and Debugging Lambda Functions
When working with serverless you only need to worry about your logic i.e. your code and how well it performs, but with no system to log into or troubleshoot how does one triage issue? AWS provides managed monitoring/watchdog service called AWS CloudWatch among many other offerings such as AWS X-Ray, AWS CloudTrail to monitor and analyze targeted metrics pertaining to your Lambda functions which give you exact and accurate insights into how your business logic is performing. CloudWatch logs both metrics and actual code execution logs to help you troubleshoot and test your application.