Ensure digest_method is always set to get graceful failure.

Also use byebug since debugger has build issue on mac.