Adding Debug to view