add DEBUG feature