Needed to use this article to create a function to email debug information to me... it can be used for anything else, of course.
http://www.sitepoint.com/article/1139