Minor clean up

- Added set debug mode

Signed-off-by: thehutch <th3hutch@yahoo.co.uk>
Merge pull request #12 from thehutch/master

Minor clean up