change debug type