adding debug plugin