Move DEBUG to local configuration