How to check Firefox/Chrome developer console/tools on Android without a computer? I am aware of these two questions

How can I access the browser console on Opera Mobile on Android?

Is it possible to open developer tools console in Chrome on Android phone?


However the first one is interested in Opera and that is not the browser I use for development.
As for the second one, there is some interesting answers, however my goal is to see the console only using a mobile Android device (Redmi Note 9S).
That feature seems to be unavailable for all major android browsers.
You could try Opera-mini instead.

Reset the console output by opening a new tab with the address debug:resetconsole

Open a tab on the page on which you want to do the inspection:

Run JavaScript code on the page by replacing the address in the address bar with the following address javascript:var%20n%3Ddocument.firstChild%3Bwhile%28n%20%26%26%20n.nodeType%21%3DNode.ELEMENT_NODE%29%20n%3Dn.nextSibling%3Bconsole.log%28n.outerHTML%29%3B
Retrieve the output by opening a new tab with the address debug:console