Fixed DEBUG override which crept into master

A DEBUG override got into master from the last PR, this should be removed.