Changed the debug functionality
Merge pull request #6 from mbjordan/master

Changed the debug functionality