If DEBUG, then raise the exception.