I want to control my debug settings from the .env file, both debug and debug_bar but when I follow https://docs.statamic.com/environments it doesn't work.

site/settings/debug.yaml:

debug: "{env‌:APP_DEBUG}"
loggers:
  file:
    daily: true

.env:

APP_ENV=dev
ENV_TITLE=development
APP_DEBUG=true

I also added debug_bar: "{env‌:APP_DEBUG}" to debug.yaml but it doesn't show up in my dev site. What am I doing wrong?

Note: also tried with double antlers, like shown here but still no Debug Bar ...

Thanks!

Answered by Jason Varga! Go to answer.