Remote Debugging By Using FireFox

I tried debug in my android device but no success. When I add line “sc->addRegisterCallback(register_cocos2dx_js_extensions);”. App build failed with the reason " error: ‘register_cocos2dx_js_extensions’ was not declared in this scope". If I don’t add that line, app build success. When I connect Firefox, it show status is “Unexpected error”

I had to follow the instructions in this article but didn’t success. Can Anyone help me, thank all :smiley:
I use cocos2d-js 3.10, firefox 39.0.3 (I tried firefox 44 but didn’t success).

Have you tried a different port

Can you suggest me some other port :smiley: thank.

It seems the firefox configuration steps are missing from the link in your post. See this tutorial for the information. I got it working with the iPhone Simulator, never tried with android though. You need a old firefox version indeed, version 40 and beyond it doesn’t work.

I red tutorial in your link but connect still failed, i use firefox version 39

I tried port 6000, it connect success. But I can’t see my game

What URL are you using to test your game on?

I build apk file and run it on my android device, it is not web app :smiley: