Add more detailed debug output