I'm wrapping up my 6th month of using an iPad as my main computer [1] and this is one of my largest remaining annoyances. Working on frontend code is a huge pain, and I often have to resort to hacks like alert()ing to debug problems. Weinre [2] is great but it's in a separate tab and requires you to run a server.
It would be great if someone wrapped this into a React component so you could drop an <Inspector /> into the root of your project.
[1] http://campedersen.com/2017/06/30/ipad/
[2] https://people.apache.org/~pmuellr/weinre/docs/latest/