---
title: "Security: Refuse to start production with debug output"
manual: "adsum by web-vision"
version: "main"
permalink: "https://docs.typo3.org/permalink/web-vision/adsum-monorepo:security-1791315609@main"
source: "Changelog/1.0.0/Security-1791315609-RefuseToStartProductionWithDebugOutput.rst"
rendered: "2026-11-07T02:01:32+00:00"
---

# Security: Refuse to start production with debug output {#security-1791315609}

## Description {#description}

The production environment now refuses to start with APP_DEBUG=1 or without an APP_SECRET and names the
setting to change. Debug output shows stack traces, queries and configuration to anyone who triggers an error, and
an empty secret makes signed links and tokens forgeable. APP_DEBUG is no longer set in .env and follows
APP_ENV: 0 for prod, 1 otherwise. An unexpected error answers with the problem type, title, status and
correlation ID only.

## Impact {#impact}

Installations that set APP_ENV=prod and relied on the former APP_DEBUG=1 of .env now run without debug
output. An installation with APP_DEBUG=1 or an empty APP_SECRET in production fails to start until the
setting is fixed.
