How do I start debugging a zigbee device?

Lots of good advice here: