Skip to content

Add a debug pass (disabled by default) to add detailed source location attributes to the rendered HTML.#2749

Open
copybara-service[bot] wants to merge 1 commit intomasterfrom
test_908275416
Open

Add a debug pass (disabled by default) to add detailed source location attributes to the rendered HTML.#2749
copybara-service[bot] wants to merge 1 commit intomasterfrom
test_908275416

Conversation

@copybara-service
Copy link
Copy Markdown

Add a debug pass (disabled by default) to add detailed source location attributes to the rendered HTML.

When enabled, every HTML element will be rendered with data-sourcecode-loc attribute specifying the exact filename and line + column range of the template responsible for rendering that element. Useful for many debugging and agentic development workflows.

…n attributes to the rendered HTML.

When enabled, every HTML element will be rendered with data-sourcecode-loc attribute specifying the exact filename and line + column range of the template responsible for rendering that element. Useful for many debugging and agentic development workflows.

PiperOrigin-RevId: 908275416
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants