Had excactly the same problems and was looking for a good dev experience…
This is not what you asked for, but maybe check this “alternative”:
You can host a local https server and just run the localhost in the oculus browser to test your code.
It’s way more easy if you use the babylon.js editor for this…
How to run https server on Babylon.js Editor - #18 by Limes2018
Of course I am still curious for a real solution for your question