r/oculusdev • • Mar 03 '25

How to debug WebXR apps?

Hi

I am developing Mixed Reality app for Browser, using VScode and running server locally. I connected my oculus to laptop and tried Oculus Developer Hub but its giving me random statements and I am not getting my print statements.

Does anybody have any experience with it?

2 Upvotes

7 comments sorted by

View all comments

Show parent comment

2

u/Rough_Research4892 Mar 04 '25

Hi as I understand Chrome Dev tools debugs interaction with browser no? I want to debug Mixed reality interactions, not website/browser ones. For that I only found this and I really don't get it what should I do.

As for Web Emulator, I found it extremely unintuitive(especially compared to AVP-s simulator).

1

u/00davehill00 Mar 05 '25

Can you expand on what you mean by “debugging Mixed reality interactions”? Sounds like you’re not wanting to look at the code running in the debugger (since Chrome Dev Tools would give you that), so I’m not clear what you’re hoping for.

1

u/Unfair_Salamander_20 Mar 05 '25

Chrome dev tools should show your print statements in the Console tab.