Enhanced debug output