debugging rest