Adding debug feature

I think this might help with issues that arise.  It will hopefully save people the task of having to add tracking statements manually into the code.