Debug option is now intelligent

When validation is successful, no verbose information is shown. However,
when an error occurs, verbose information is printed.