Microsoft recently announced that the latest release of the Visual Studio Code extension for API Management introduces the ability to debug policies configured in your Azure API Management services in real-time.
When you use this new feature, you can use most of the debugging features you’d expect from a modern runtime environment:
(gif animation from the official extension docs)
I have awaited this feature for SO long, and I’m very excited to get some hands-on experience with it in real-world projects; my initial tests show that it’s still a bit rough on the edges. I do expect, though, that this will speed up the development of APIM Policies by an order of magnitude.
This feature is in public preview, and only available in the Developer tier.
1
“Build REST APIs in three steps with API Management and Azure Functions”
Azure API Management updates – October 2020
The API Management Landscape in 2020
How to get a ‘Request Trace’ in Azure API Management
Open API Specification 3 support in Azure API Management is now GA (generally available)