set up debug runtime