use the debug attribute from the schema in the config file
Merge pull request #6 from mapleoin/debug-config

use the debug attribute from the schema in the config file