Fix configuration

debug cannot be marked as `cannotBeEmpty` because 

```yml
  debug: false
```

is empty.

Then, array `api` node is required.