Require non-zero exit code, and allow debug output

See #11