Disable debug output in the production environment
Was missing the use of const
Undo the fix for #1294