Adding debuging definition and macro