Tossed together a macro for this today for anyone interested 😛
#ifdef DEBUG
#define ADD_DEBUG_QUAD(child, container)\
[container addChild:[SPQuad quadWithWidth:child.width height:child.height]];\
[container childAtIndex:[container numChildren]-1].x = child.x;\
[container childAtIndex:[container numChildren]-1].y = child.y;\
[container childAtIndex:[container numChildren]-1].alpha = 0.5f;
#define ADD_DEBUG_QUAD_TO_SELF(child) ADD_DEBUG_QUAD(child, self)
#else
#define ADD_DEBUG_QUAD(child, container) do {} while (0);
#define ADD_DEBUG_QUAD_TO_SELF(child) do {} while (0);
#endif