Performance: Debug mode
MEDIUM IMPACT
Debug mode affects page load speed and user experience by enabling detailed error reporting and logging, which can slow down response times.
APP_DEBUG=false in .env file on production environmentAPP_DEBUG=true in .env file on production environment| Pattern | Server Processing | Response Size | Rendering Delay | Verdict |
|---|---|---|---|---|
| Debug mode ON in production | High (extra error handling) | Large (+20-50kb) | Longer (blocks LCP) | [X] Bad |
| Debug mode OFF in production | Low (minimal error handling) | Small (minimal payload) | Short (fast LCP) | [OK] Good |