Rc522 debugging

How to debug Arduino RC522 sketch?

What is "Arduino RS522 sketch"?
If it uses some code Serial.print and serial monitor are very useful tools.

See RC522 Not working - #4 by kkthyagharajan