Debugging in Visual Studio
As we have seen with browser developer tools, the capabilities of Visual Studio for debugging cannot be covered in a single chapter. Our objective will be to highlight some of the features so you have a good understanding of the fundamentals.
Controlling the application launch and target
The first thing in Visual Studio we will look at is controlling how the application is launched. Below the menu, there is a toolbar that shows the launch settings. Figure 11.29 shows this menu bar expanded:
This allows us to control how the application is launched, and in the preceding screenshot, we have two options: IIS Express and Chapter11. These values tie into the launch settings, and the file controlling these options is in the Properties folder as shown in Figure 11.30:
launchSettings.json file, we can see two entries in...