Print out debug when we fail reads/writes in detail.c