Skip to content

Feature: Debugging tool for mapping DOM nodes to template source #42530

Closed

Description

@jelbourn

TL;DR: add something in the DOM during dev mode to help identify the template source file that corresponds to that DOM subtree.

I'm filing this issue on behalf of one of Google infrastructure teams. In very large applications, it can be difficult to identify a node in the DOM and then find the source location for that node. This could manifest as something like a data- attribute on component host element that references the file that contains that component's template. Other development tools could be built on top of this, such as for visualizing page composition.

Activity

  1. added
    featureLabel used to distinguish feature request from other issues
    area: coreIssues related to the framework runtime
    on Jun 9, 2021
  2. modified the milestone: Backlog on Jun 9, 2021
  3. self-assigned this
    on Nov 30, 2024
  4. added a commit that references this issue on Dec 6, 2024
    4559e12
  5. angular-automatic-lock-bot commented on Jan 6, 2025

    @angular-automatic-lock-bot

    This issue has been automatically locked due to inactivity.
    Please file a new issue if you are encountering a similar or related problem.

    Read more about our automatic conversation locking policy.

    This action has been performed automatically by a bot.

  6. locked and limited conversation to collaborators on Jan 6, 2025
  7. added a commit that references this issue on Feb 7, 2025
    c5767b4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area: coreIssues related to the framework runtimefeatureLabel used to distinguish feature request from other issueshotlist: googlestate: has PR

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions