Table of Contents
The process for debug websites on iPad is straightforward once you know where to find the right controls. The steps below explain what to do and what to check.
If only developed in macOS and iOS environments, you may not need those third-party tools. Apple has provided a set of tools for this.
The steps below explain how to use this toolkit to access and debug static websites as well as WordPress websites for iOS for iPhone and iPad. Let's start!
Begin
First, launch Safari and activate Developer Tools Through Safari> Preference . On the Advanced Tab , Check the Show DevelopMenu in the menu bar .

A new menu called Develop Appears in the Safari menu bar.

Then, in iPad or iPhone, go to Settings> Safari . Similarly, in the Advanced Menu , Activate Web Inspector.

For WordPress based websites
A relative path is required for CSS, Images and JavaScript links to be loaded correctly in the iPad or iPhone. If you are developing websites based on WordPress, all paths must be absolute. To turn them into a relative path, install and activate the Relative URL plugin.
When enabled, path URLs will change from:
http://localhost:8888/wordpress/
Into:
/wordpress/
Debugging website
Start by know the network IP address. Go to System Preference> Network . There, you will find the IP address. Also, ensure that Apple devices - Mac, iPad, iPhone - are connected in the same network to be able to access the wireless website on the iPad or iPhone.

On the iPad or iPhone, launch the Safari application and access Localhost: 8888 Followed by the web project directory - for example Localhost: 8888 / WordPress. If you set up the local server using MAMP, localhost: 8888 Will be the default local server address.
As you can see below, we are viewing a WordPress-based website with the iPad.

Moreover, to be able to debug the site using the Developer Tools, You need to connect the iPad or iPhone to the Mac with a USB cable. Then, in Safari, go to the Develop Menu and select the connected device.

Everything is complete.
In the following screenshot, when selecting the DOM Tree (Document Object Model) from Developer Tools, You can see the corresponding elements on the iPad or iPhone highlighted. Now you can technically debug your site in the iPad or iPhone, just like you do on the desktop.

Hope you are succesful.
FAQ
What should I prepare before I debug websites on iPad?
Review the requirements in the guide, confirm that your device or software is compatible, and save important work before changing settings related to debug websites on iPad.
Why might debug websites on iPad not work as expected?
The most common causes are incompatible versions, missing permissions, incorrect settings, or an interrupted internet connection. Recheck each step and restart the app or device when appropriate.
Can beginners follow these debug websites on iPad steps?
Yes. Follow the steps in order, avoid skipping confirmation screens, and compare your interface with the screenshots because labels may differ slightly between versions.
Reader Comments 0
Sign in with email or Google to join the discussion.