set direction buttons debugging