PTM means pixel per meter. Cocos positioning based on pixels but box2d positioning based on meters. This ratio convert this. Your debug draw is already drawn in your scene but it is outside of screen.
#define PTM_RATIO 1.f
Now your positioning works.