Add debugging logs