[#102] Enhanced debug logging