4 ms·
To enable experimentation like that, I'd like to see mobile browsers include developer tools as well. More and more people grow up using a smart phone as their
by yorwba 7y ago
To enable experimentation like that, I'd like to see mobile browsers include developer tools as well. More and more people grow up using a smart phone as their main computing device, and I think they should be given the opportunity to tinker with that as well.
I realize that developer tools are information dense and fitting them on a smartphone screen would require a significant effort to redesign the layout (especially when you want to see the website, the code you're editing and the on-screen keyboard at the same time), so browsers might not want to spend effort to include a niche feature like that. Maybe it would be possible to connect to the remote debugger with an on-device client? Then it could be developed as a separate project.
- rnotaro 7y agoYou can use Chrome Remote Debugging to access the developer console for a mobile device. https://developers.google.com/web/tools/chrome-devtools/remote-debugging/ https://developers.google.com/web/tools/chrome-devtools/remo... You can also load Eruda with Javascript. https://github.com/liriliri/eruda https://github.com/liriliri/eruda
- yorwba 7y agoThe problem with remote debugging is that it apparently requires a separate device, whereas I was thinking about people who only have a smart phone. That's what I meant by "Maybe it would be possible to connect to the remote debugger with an on-device client?" The Eruda approach to inject the debug console with a oneliner in the address bar seems like a possible solution, though. Thanks.