Feature: Debugging tool for mapping DOM nodes to template source #42530
Labels
area: core
Issues related to the framework runtime
feature
Issue that requests a new feature
hotlist: google
Milestone
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.The text was updated successfully, but these errors were encountered: