How to inspect element for ios 10 app..using appium 1.6.0 beta..?

i posted an answer to this since it comes up a lot Inspecting iOS with Appium 1.6.0+