Conditionally show diff stat in common debug