debugging tips

My AddAContact.php is not working. I've made the updates suggested in the readme file. Could you suggest some tips on how to add debugging info to try to figure out the issue? What types of things would helpful to look for to debug and track down specific issues? What are common things that don't work that I could check for? Thanks!