12
Debugging the Code
In this chapter, we will take a look at debugging. The debugging experience of Blazor is a good one; hopefully, you haven’t gotten stuck earlier on in the book and had to jump to this chapter.
Debugging code is an excellent way to solve bugs, understand the workflow, or look at specific values. Blazor has three different ways to debug code, and we will look at each one.
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
To debug something, we should first make something break!
Technical requirements
Make sure you have followed the previous chapters or use the Chapter11
folder as a starting point. ...
Get Web Development with Blazor - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.