How I should enable debug draw with Cocos2d-x 3.0? There are some codes that do that with cocos2d-x 2.0 but they don\'t even compile on Cocos2d-x. Unfortunately I am new to both
You could simply add another layer above your current layer.
And you can add the code you post here in the up layer then everything should be working.