channels/smartcard: add more debug output