Add debug mode settings
Fix typo
Merge pull request #19 from Cowa/debug-mode

Debug mode