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!

Technical requirements

Make sure you have followed the previous chapters or use the Chapter11 ...

Get Web Development with Blazor 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.