Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inspect/debug browser within headset? #314

Open
RingoKam opened this issue Oct 29, 2022 · 8 comments
Open

Inspect/debug browser within headset? #314

RingoKam opened this issue Oct 29, 2022 · 8 comments
Labels
enhancement New feature or request

Comments

@RingoKam
Copy link

RingoKam commented Oct 29, 2022

Is your feature request related to a problem? Please describe.
With the release of Quest Pro, it makes working in the headset a whole lot more comfortable. I am trying to have a development workflow within the headset. However I cannot access the console/dev tool.

Describe the solution you'd like
is it possible to expose the the dev tool? Would be nice to at least have access to the console

Describe alternatives you've considered
I think its possible to tap into console and print it in on a canvas in VR scene.

Additional context
image

@Utopiah
Copy link

Utopiah commented Nov 1, 2022

It's partly possible at a higher level, e.g https://github.com/kylebakerio/a-console

@svillar
Copy link
Member

svillar commented Nov 3, 2022

You can use Remote debugging to access the console, but that requires connecting the device to a desktop/laptop with a Firefox desktop.

Would that work for you?

@Utopiah
Copy link

Utopiah commented Nov 3, 2022

I warmly recommend remote debugging but how would one does that from within the HMD?

@svillar
Copy link
Member

svillar commented Nov 3, 2022

I don't think that's possible from within the HMD because Wolvic runs as a full screen app, so if you want to open any other, you have to close Wolvic first.

@RingoKam
Copy link
Author

RingoKam commented Nov 3, 2022

It's partly possible at a higher level, e.g https://github.com/kylebakerio/a-console

Thank you for the recommendation! I am override the console log method for now and then printing it in the canvas. https://ourcodeworld.com/articles/read/104/how-to-override-the-console-methods-in-javascript

It would be awesome to have the devtool in the browser, for example being able to inspect DOM and check network.

@svillar
Copy link
Member

svillar commented Nov 4, 2022

It's partly possible at a higher level, e.g https://github.com/kylebakerio/a-console

Thank you for the recommendation! I am override the console log method for now and then printing it in the canvas. https://ourcodeworld.com/articles/read/104/how-to-override-the-console-methods-in-javascript

It would be awesome to have the devtool in the browser, for example being able to inspect DOM and check network.

I'm curious, why remote debugging is not an option for you?

@Utopiah
Copy link

Utopiah commented Nov 4, 2022

I’m not OP @svillar but for me it’d be faster feedback loop, always, as inspired by Bret Victor’s Inventing on Principle https://vimeo.com/38272912

Remote is possible but it’s a step further, forcing to remove the HMD and thus possibly not be in a state of flow.

@RingoKam
Copy link
Author

RingoKam commented Nov 4, 2022

I’m not OP @svillar but for me it’d be faster feedback loop, always, as inspired by Bret Victor’s Inventing on Principle https://vimeo.com/38272912

Remote is possible but it’s a step further, forcing to remove the HMD and thus possibly not be in a state of flow.

Yup exactly what @Utopiah said (and he worded it better!)

@svillar svillar added the enhancement New feature or request label Nov 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants