title: After latest update of Xcode (10.2), Web Inspector is not working
body: <p>I've posted this as a bug on Apple's Bug Report site. I thought I'd post here too and see what I can find out as to how I might fix this...</p>
  
  <h1>Area:</h1>
  
  <p>Debugging WKWebView with Xcode using Web Inspector in Safari.
  I'm running on MacOS Mojave Version: 10.14.3 (18D42).</p>
  
  <h1>Summary:</h1>
  
  <p>After letting upgrade of Xcode run (Version 10.2 (10E125)), when I pick the proper Device option from Safari's [Develop] menu (Version 12.0.3 (14606.4.5) of Safari), the Web Inspector comes up while running the app like before, but it displays as basically blank and useless.</p>
  
  <h1>Steps to Reproduce:</h1>
  
  <p>1- start iOS app in the Simulator that has a WKWebView that is successfully displaying a web page that has runnable JavaScript in it.
  <a href="https://i.stack.imgur.com/ufFqT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ufFqT.png" alt="Here I&#39;ve picked the iPhone 6 Simulator"></a>
  <em>(Figure 1) Here I've picked the iPhone 6 Simulator in Xcode</em></p>
  
  <p>.
  <a href="https://i.stack.imgur.com/anngd.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/anngd.png" alt="running app"></a>
  <em>(Figure 2) App running in simulator... WKWebView takes whole screen</em></p>
  
  <p>.
  <a href="https://i.stack.imgur.com/tSyxm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tSyxm.png" alt="enter image description here"></a>
  <em>(Figure 3) screen after clicking [Run Db Startup Code] button (notice new info under "Test Info:")</em></p>
  
  <p>.
  <a href="https://i.stack.imgur.com/HjYat.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HjYat.png" alt="enter image description here"></a>
  <em>(Figure 4) JS code that runs when this button is clicked.</em></p>
  
  <p>.
  2-Go to Safari window and pick [Develop] menu.</p>
  
  <p>3- Pick Simulator option for the device like:
      Simulator -- iPhone 6 -- iOS 12.2 (16E226)</p>
  
  <p>4- Pick the "index.html" option
  <a href="https://i.stack.imgur.com/BlNQw.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/BlNQw.png" alt="enter image description here"></a>
  <em>(Figure 5)  Picking option in Safari after app in iPhone Simulator has been started</em></p>
  
  <p>.</p>
  
  <p>5- Web Inspector comes up, but none of the page's resources are listed (including index.html)
  <a href="https://i.stack.imgur.com/xZFj2.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xZFj2.png" alt="enter image description here"></a>
  <em>(Figure 6) Web Inspector brought up ... this is the Debugger tab. Nothing appears.</em></p>
  
  <p>.</p>
  
  <p><a href="https://i.stack.imgur.com/HKkln.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HKkln.png" alt="enter image description here"></a>
  <em>(Figure 7) Web Inspector, Resources tab... also blank. Clicking the Refresh button above the Network tab does nothing.</em></p>
  
  <p>.</p>
  
  <p>6 - Clicking the Web Inspector's refresh button does nothing</p>
  
  <h1>Expected Results:</h1>
  
  <p>Resources to load, 
  to be able to set break-points on JavaScript lines of code.
  to have JS code stopped on any debugger;  statement
  to be able to step through JS code and examine current JS variable values.</p>
  
  <h1>Actual Results:</h1>
  
  <p>As said before, the web inspector window comes up basically empty (like there is no page loaded into the WKWebView at all (even though there is and I can visually see that JS code runs when I click buttons on test interface).</p>
  
  <p>Note: If I try running on actual tethered device, NO option shows up in Safari's [Developer] menu!</p>