pattern page debug