Home | History | Annotate | Download | only in intros
      1 <h2 id="manifest">Notes</h2>
      2 
      3 <p>
      4 As of today, attaching to the tab by means of the debugger API
      5 and using embedded Chrome DevTools with that tab are mutually exclusive.
      6 If user invokes Chrome DevTools while extension is attached to the tab,
      7 debugging session is terminated. Extension can re-establish it later.
      8 </p>
      9 
     10 <h2 id="manifest">Manifest</h2>
     11 
     12 <p>
     13 You must declare the "debugger" permission in your extension's manifest
     14 to use this API.
     15 </p>
     16 
     17 <pre>{
     18   "name": "My extension",
     19   ...
     20 <b>  "permissions": [
     21     "debugger",
     22   ]</b>,
     23   ...
     24 }</pre>
     25 
     26 
     27 <h2 id="examples">Examples</h2>
     28 
     29 <p>
     30 You can find samples of this API in
     31 <a href="samples.html#debugger">Samples</a>.
     32 </p>
     33