save debug stuff