add Debug class only if DEBUG defined