GearVR WebVR Samsung Browser - viewing JS console output

333 views Asked by At

I'm trying to view the JavaScript console output of a WebVR scene, that's being loaded in the Samsung GearVR browser. If it was in the Chrome browser I could use some form of remote debugging, but with the Samsung browser that wouldn't work.

I looked around the web, but nothing mentioned the particular Samsung Browser WebVR debugging situation.

Does anyone have any ideas or links?
I appreciate your help :)

1

There are 1 answers

0
Krzysztof Bociurko On

Actually, chrome remote debugging works on Samsung Internet for GearVR. Just connect adb through wifi (GearVR USB won't work, it's charging only), open chrome://inspect in the desktop chrome and when the headset is active, the page should be visible on the list. All active webkit instances are on that list, not only Chrome. For example you can also sniff gmail app html views.

For this to work, you have to have the headset's screen active - it's hard to have it on your head while debugging so I suggest you use some paper sticky tape to cover the sensor that is between the lenses.