Fix bug in debugging detection
Validate configuration using jsonschema