Amazing examples, very useful.
Fredy Caballero
1
Thanks Fredy.
At the moment debugging isn’t possible with serverless offline. See this serverless issue and this serverless offline issue. My approach is to use automated testing and console logging.
As good as serverless offline is, the simulation isn’t perfect. As a result, you do need to test on AWS eventually. I use serverless offline to get started and then deploy to AWS for a final test.
The only option for debugging on AWS is to log to the console and check the CloudWatch logs if you have any issues. Due to this, I think the best approach right now is to put good logging in place and use that to debug your issues.