cocos2d-js如何调试layout位置、大小

请问如何调试Layout的大小,位置。我想通过设置背景和边框来直观看到,但Layout的setColor()方法不起效果

:2:顶,大神们求助

请问如何调试Layer的大小,位置。我想通过设置背景和边框来直观看到,但Layer的setColor()方法不起效果

cc.log不可以么?