Make debug status boolean

Resolves https://github.com/cakephp/cakephp/issues/3042