Added debugContent method