debugging in pi