Add to 43bdd4b use debug if $app['debug'] is true

Respect to $app['debug'] value