This script will allow you to run the inspect element tool using the Google Chrome/Chromium browser on your Linux machine.
At the moment, this script works for Debian based distros (uses apt install
). If you need this ability on other distros, have a look into the install script and replicate in your distro.
- Install either Google Chrome or an Chromium based browser from software center.
- Open your iOS, device, go to Settings, navigate to Safari, click on "Advanced" and enable "Web Inspector".
- Run
./install.sh
- Follow the on screen instructions.
- Open the downloaded browser and navigate to
chrome://inspect/#devices
. - Run
./start.sh
. - Click on configure and add
localhost:9500
. - You should now be able to see the inspect options which will allow you to open the developer tools on your browser whilst you navigate on your iOS device.
This script comes from following compiling the instructions on https://onestepcode.com/debugging-ios-on-linux/ into a single script.