The problem is that if you set the config value, you don't use the fallback value (app.debug).