Addes Debug feature