Add some debug output when failing.