add type view and debug download event