debug pretty printer