set up debug view