Chapter 12: Debugging
In this chapter, we will take a look at debugging. The debugging experience of Blazor is a good one, and hopefully, you haven't got stuck anywhere and had to jump to this chapter.
Debugging code is a really good way to solve bugs, understand the workflow, or simply look at specific values. Blazor has three different ways to debug code, and we will take a look at each one of those.
In this chapter we will cover the following:
- Making things break
- Debugging Blazor Server
- Debugging Blazor WebAssembly
- Debugging Blazor WebAssembly in the browser
- Hot reload (almost the real thing)
To debug something, we should first make something break!