What options currently i have to debug Native and JS code?

As i understand the CocosIDE is not supported for new cocos versions ,
what options do i have to debug Javascript code with native runtime ?

this Remote debugging tutorial using old firefox doesn’t work any more using firefox 4.