I just spent more hours than I care to admit debugging a MODX CMP. I thought I would share a bit about the process, partly because the problem turned out to be so amazingly insidious, and partly because I learned some things that might help you debug a CMP of your own.

While adding CMP features to MyComponent, I created a fairly simple CMP as part of the Example project. The CMP has two tabs: The left one shows a grid with all the Snippets on the site and the right tab shows a Chunk grid. Learn More