rest debugging