add debug diagnosis file