How Are You Debugging?

I run my functions locally, and if I get syntax errors I enable SLS_DEBUG=* to get more detailed information. If the functions are running, but I’m getting service failures, I’ll dump errors to the logs in debug mode.

What types of errors are you trying to debug? Connecting to AWS services? Syntax errors? Are you running a test suite to unit test your functions? What language are you using?