# Disable HEEx debug annotations conditionnaly

**URL:** <https://forum.elixirforum.com/t/disable-heex-debug-annotations-conditionnaly/73978>\
**Category:** Questions\
**Tags:** phoenix, liveview, heex\
**Created:** [January 15, 2026, 9:54am UTC](https://forum.elixirforum.com/t/disable-heex-debug-annotations-conditionnaly/73978 "2026-01-15T09:54:03Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![garrison](https://forum.elixirforum.com/letter_avatar_proxy/v4/letter/g/3bc359/32.png) [@garrison](https://forum.elixirforum.com/u/garrison)\
**Post date:** [January 15, 2026, 4:34pm UTC](https://forum.elixirforum.com/t/disable-heex-debug-annotations-conditionnaly/73978/2 "2026-01-15T16:34:59Z")

</div>

Yeah, [the call site is here](https://github.com/phoenixframework/phoenix_live_view/blob/v1.1.20/lib/phoenix_live_view/tag_engine.ex#L1673) but it looks like it’s just based off of the global config.

I guess you could wrap those templates in `put_env` but that’s obviously insane. Maybe send a proposal or PR?

---

_[View the full topic](https://forum.elixirforum.com/t/disable-heex-debug-annotations-conditionnaly/73978)._
