Provide better info when the shell doesn't printf vars as expected

See #11
Require non-zero exit code, and allow debug output

See #11
Include shell output in debug messages

See #11