More helpful debug logging