debud for type