more detailed debug logging