<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - When Debug UI is enabled, Inspecting the Inspector should always be available"
   href="https://bugs.webkit.org/show_bug.cgi?id=151714#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - When Debug UI is enabled, Inspecting the Inspector should always be available"
   href="https://bugs.webkit.org/show_bug.cgi?id=151714">bug 151714</a>
              from <span class="vcard"><a class="email" href="mailto:bburg&#64;apple.com" title="Brian Burg &lt;bburg&#64;apple.com&gt;"> <span class="fn">Brian Burg</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=151714#c2">comment #2</a>)
&gt;
<span class="quote">&gt; To make 2nd-level inspector always available, we can always add the context
&gt; menu in engineering builds only if the inspection level is &gt;0.</span >

It would be even better if we can execute some injected script if inspectionLevel() &gt; 0 to see if debug UI is enabled. 

We'd need to evaluate the following from InspectorController (in the context of the main frame's document).

!!(WebInspector &amp;&amp; WebInspector.debugUIEnabled())

How can we evaluate something like this in the main frame's ExecState?</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>