In order to ouput special debug information, I'd like to only show it in the template if the shop is running in DEV mode.
I tried to read the ENV Variable without any success:
{{ app.request.server.get('APP_ENV') }}
Or is something like this possible?
{{ app.appVariable.get('environment') }}
You may use app.environment
{% set isDebug = app.environment == 'dev' %}