Den här webbplatsen har begränsad funktionalitet medan vi utför underhåll för att förbättra din upplevelse. Om en artikel inte löser ditt problem och du vill ställa en fråga har vi vår gemenskap som väntar på att hjälpa dig på @FirefoxSupport på Twitter, /r/firefox på Reddit.

Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

Läs mer

Debugging javascript errors in Firefox Reality on Oculus Quest 2

  • 1 svar
  • 1 har detta problem
  • 2 visningar
  • Senaste svar av Paul

more options

I just jumped into VR train with my first mindblowing headset Oculus Quest 2. I have started testing my Threejs projects in Firefox Reality and seeking for the best production workflows. If anyone could point me into the relevant resources that would be fab.

One of the first basic questions is: how can I open any debugging console in Firefox Reality to see all the errors without connecting the headset to PC?

Shall I install Android SDK and create hardware link or there is another way to do that?

I just jumped into VR train with my first mindblowing headset Oculus Quest 2. I have started testing my Threejs projects in Firefox Reality and seeking for the best production workflows. If anyone could point me into the relevant resources that would be fab. One of the first basic questions is: how can I open any debugging console in Firefox Reality to see all the errors without connecting the headset to PC? Shall I install Android SDK and create hardware link or there is another way to do that?

Alla svar (1)

more options

Hi

You can’t debug JS from inside Firefox Reality, you need to use the remote debugging tools and do that from a Firefox Nightly desktop instance, same as in Fenix: https://developer.mozilla.org/en-US/docs/Tools/about:debugging.

For that first you will need to enable Developer mode in the Quest device (https://developer.oculus.com/documentation/native/android/mobile-device-setup/) and then also enable remote debugging in Firefox Reality: Settings->Developer->Remote Debugging.

I hope that this helps.