How to debug in gearVR

I am working on a VR demo for samsung gear VR with controller.
I am following this example as a guide.
It seems that there are only 2 browsers (oculus broswer and samsung vr browser).
I need to know how to debug using any above browser.


This should help: