An inspector for app would be helpful for create or debug test cases. It is better to have it both in live testing or in automatic testing.
A example could be Appium inspector https://github.com/appium/appium-desktop
All of the information can be got with Appium command getPageSource()
Just format the XML or HTML into a visible way.