debug module is a nice simple solution but asuth has some crazy magic stuff that is probably more useful