Skip to content

Add browser devtools experience for Blazor #44825

@captainsafia

Description

@captainsafia

Dupe of #5517.

Summarization

I would like a browser-based experience in Blazor that lets me examine my components, their state and parameters, and their scoped styles.

Applicable Scenarios

Here are some scenarios where this would be helpful to me as a developer:

  • I notice that a component is rendering the wrong text. I can right click to inspect it and see that this is because a parameter is set to an incorrect value.
  • I want to see what styles I've applied to a component. I can right click on the component and see the styles in the browser's elements app and tweak them before adding them to my app.
  • I want to see what happens when I change the parameter to a component. I can test this out inside Blazor dev tools.

Examples

Right click to inspect an element in Developer Tools
Screen Shot 2020-08-18 at 11 47 58 AM

View and edit the component hierarchy in Blazor DevTools
Screen Shot 2020-08-18 at 11 55 45 AM

Metadata

Metadata

Assignees

No one assigned

    Labels

    Pillar: Dev Experiencearea-blazorIncludes: Blazor, Razor ComponentsenhancementThis issue represents an ask for new feature or an enhancement to an existing one

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions