ASP.NET Core

Unable to find debuggable browser tab in Blazor

Debugging blazor applications is a little different from what we’ve been doing for years for debugging the JS files.

Microsoft team announced official preview of Blazor framework recently. I wanted to try the new Blazor framework so I’ve installed VS 2019 preview.

I ran the blazor application by following the setup instructions mentioned on Microsoft docs.

After running the application, I just opened the developer tools in chrome to debug the Counter function that came up with default blazor template. Unfortunately, I couldn’t see any of the counter files.

And I saw the following console message

Debugging hotkey: Shift+Alt+D (when application has focus)

I press that hot key and I have the new tab opened in chrome with the following error message.

Unable to find debuggable browser tab in Blazor: coderethinked.com

Although, there is a resolution mentioned in the above screenshot it will not work.

Solution

close all the instances of chrome browser.

Once you close your browser window, make sure you also end the tasks of chrome.exe process from Task Manager.

The following are the google chrome processes which are still alive though you close google chrome.

chrome processes alive: blazor debugging

Once you close all the instances of chrome, run the app again and press Shift + Alt + D with the focus on application. And here is the debugging window.

Solved Unable to find debuggable browser tab in Blazor: coderethinked.com

That’s it for debugging.

Where’s the Counter.razor file?

It’s in yourapp.dll folder in the sources >> Page folder.

razor components in blazor dll folder

Pic Credits

Disqus Comments Loading...
Share
Published by
Karthik Chintala

Recent Posts

2 Good Tools To Test gRPC Server Applications

In this post, we’ll see how to test gRPC Server applications using different clients. And… Read More

12 months ago

Exploring gRPC project in ASP.NET Core

In this post, we'll create a new gRPC project in ASP.NET Core and see what's… Read More

1 year ago

Run dotnet core projects without opening visual studio

In this blog post, we’ll see how to run dotnet core projects without opening visual… Read More

1 year ago

Programmatically evaluating policies in ASP.NET Core

Programmatically evaluating policies is useful when we want to provide access or hide some data… Read More

1 year ago

Multiple authorization handlers for the same requirement in ASP.NET Core

We saw how we could set up policy-based authorization in our previous article. In this… Read More

1 year ago

Policy-Based Authorization in ASP.NET Core

What is policy-based authorization and how to set up policy-based authorization with handlers and policies… Read More

1 year ago

This website uses cookies.