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

Respect to $app['debug'] value