How did you manage with the web inspector? There's no built-in web inspector on any mainstream mobile browser that I'm aware of and the only way to do it would be to use firebug.js like the good old days.
Not the OP, but if they mentioned they did it from Termux you can install an X server and a full desktop browser like Firefox either directly or via a chroot/proot "container" via for example proot-distro [0].
There's also an app called userland which seems to spin up some kind of VM. I don't know if android supports KVMs or if it's a real userspace chroot type of deal.
I toyed with it briefly, the performance is about what I expected given the hardware I was using. Which is to say, not a terrible amount of overhead