extracted page-break debug macro into its own file for use across ccap when needed