card debug