debugging in gem