Thundra APM
Search
⌃K

AWS Lambda Debugger

AWS Lambda Debugger is now called Serverless Debugger!
This page is deprecated. You can check the active version from here.
Since its inception, serverless has had a large problem: being able to perform native debugging. Abstracting away the cloud platform freed up time for developers to manage the runtime environment, but it also took away the opportunity to debug applications from their IDE.
There have been many attempts to solve this problem, including simulating the cloud environment and mocking managed services. However, as you can imagine, these solutions lack two crucial capabilities:
  • Security permissions of AWS Lambda functions
  • Authenticity of event data flowing between resources
By providing online debugging support, Thundra removes the barriers that prevent the ability to debug AWS Lambda functions on IDE. Thundra's solution sets up a secure bridge between the AWS Lambda environment and your debugger on IDE via a web socket communication. This allows you to debug your applications like you could debug any code that you host on your computer with native debugging actions, enabling you to see the values of local variables and the entire stack trace.
As can be seen in the image below, we set up a secure bridge to exchange data between the AWS Lambda environment and the IDE. The bridge encrypts the data while exchanging it between several nodes.
By default, Thundra’s online debugger works on our own broker hosted by Thundra. If you prefer to host the debugger on your own account, we also provide a self-hosted solution. Learn more about this option here.
Don't forget to increase the timeout value of your AWS Lambda function if you need more time than the set default.
Debugging Lambda on VSCode
All you need to do to get started using this tool is to plug the Thundra libraries into your Lambda functions for Node.js, TypeScript, Python, and Java and start debugging on VSCode or IntelliJ IDEA.
Debug Lambda on Intellij IDEA