That's the POINT of debug, you always rag on me for using packages, but there is some great stuff out there, give it a read http://www.github.com/visionmedia/debug