Refactor `DEBUG`