addsensor debugging