Debugging Azure Function hosted in Azure using Visual Studio
Once the basic setup of your Function creation is complete, the next step is to start working on developing the application as per your needs. Developers end up facing numerous technical issues that require tools to identify the root cause of the problem and fix it. These tools include debugging tools that help developers to step into each line of the code to view the values of the variables and objects and get a detailed view of the exceptions.
Getting ready
Download and install the Azure CLI (if these tools are not installed, Visual Studio will automatically download them when you run your functions from Visual Studio).
How to do it...
In this section, you'll learn how to configure and debug an Azure function in a local development environment within Visual Studio.
Perform the following steps:
- In the previous recipe, you created the HTTP trigger function using Visual Studio. Let's build...