Fixed catchExceptions option in debug mode