Deployment Integrations
On-premise Integrations
Platform Integrations

Online Debugging

Since its inception, the most pronounced problem for serverless has always been debugging it natively. Abstracting away the cloud platform freed up the time to manage the runtime environment but it also took away the opportunity to debug the application from their IDE.

There has been many attempts to solve this problem which simulates the cloud environment and mocks the managed services. However, as you can imagine, these solutions lack two crucial capability:

  • Security permissions of AWS Lambda functions

  • Authenticity of the event data flowing between resources

Thundra removes any barrier preventing debugging AWS Lambda functions on IDE with online debugging support. Thundra's solution sets up a secure bridge between AWS Lambda environment and your debugger on IDE with web socket communication. In this way, you can debug your applications like you could debug any code that you host on your computer with native debug actions. This enables developers to see the values of local variables and all the stack trace.

As it can be seen in the below image, we are setting up a secure bridge to exchange the data between AWS Lambda environment and the IDE. It's encrypting the data while exchanging between several nodes.

By default, Thundra Online Debugger works on our own broker hosted by Thundra. If you are sensitive about hosting it on your own account, we are also proving a self-hosted solution. Learn more from here.

Don't forget to increase the timeout value of your AWS Lambda function if you need more time than your timeout value.

Debugging Lambda on VSCode

All you need to do is to plug Thundra libraries to your Lambda functions for Node.js, Python, and Java and start debugging on VSCode or IntelliJ IDEA.

Debug Lambda on Intellij IDEA