Added debug option to check

Turns off catch all exception handling