Added application debug setting

By adding the applications debug setting it's easier to manage this setting from a single file.
Merge pull request #87 from mikevrind/patch-1

Added application debug setting