Remote Debugging for Azure Functions Can Be a Breeze

Serverless architectures are gaining traction in the software industry, and it wouldn’t be surprising to see them rise on a similar curve that we have seen with microservices. But the ephemeral nature of these short-lived units of execution makes it very difficult to debug them. How do you debug code that only throws an exception under very special circumstances, and then disappears?