added debugView and debug.xml.