Hacker News new | ask | show | jobs
by somethingAlex 1401 days ago
I find the debugging and testing process pretty slow with AWS SAM so I may have to try this out when you have a Node runtime.
2 comments

Doesn't something like localstack.cloud help with this need? I've just recently inherited some NodeJS lambdas and am thinking of looking into that to debug/develop locally.
Hi,

LocalStack is great tool but the difference here is that MerLoc runs your function in local against real cloud services with the same credentials of your real AWS Lambda function. So there is no AWS service simulation, mocking or local implementation here.

Local stack seems to be invite only
LocalStack is open source: https://github.com/localstack/localstack

Looks like they're starting a Pro version that requires signup/payment.

I suspect you misunderstood. It's Open Source, at least the free version.

Or maybe I'm missing something?

There's a free trial that lasts 2 weeks. After that I think it's paid.
Not exactly. The paid editions have free trials, but there's also a community edition that is free. However, it's pretty difficult to figure out what exactly is supported in the community edition. There's a whole list that mention various AWS services are only supported in "PRO", but I don't know if that means that free support might come later in community.
All the basic stuff is in the community one. Certainly lambdas are.
Yes, there any many serverless people looking for Node support. Could you please thumbs-up its feature request here: https://github.com/thundra-io/merloc/issues/1
[Disclaimer] I am the co-founder and CTO at Thundra which is serverless monitoring and debugging solution.

We also have developed another debugging tool to debug AWS Lambda function on remote AWS Lambda environment from your local IDE: https://www.serverlessdebugger.com/

It doesn't support hot-reload but very useful for debugging functions.