3 ms·
> At my job I use AWS serverless services and I get a lot of frustration not being able to test and debug code offline. For my purposes debugging is as simple
by ed25519FUUU 6y ago
> At my job I use AWS serverless services and I get a lot of frustration not being able to test and debug code offline.
For my purposes debugging is as simple as crafting a payload and feeding it through the handler locally. I match credentials locally with what my lambda runs as. Since it’s a monolith function it behaves basically the same way, including the usage of a debugger.
To make life a little easier any time there’s an exception it persists that ordinal payload so I can just replay it locally.
But I agree that serverless is mostly overrated for most use cases.