Add --debug option
Merge pull request #23 from sneakypete81/logging

Add --debug option