debug mode created
exception handling factorized
debug mode plugged
if debug mode activated, display exception trace
Merge branch 'debug-mode'