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 data-filename="manifest.json">
     18 {
     19   "name": "My extension",
     20   ...
     21 <b>  "permissions": [
     22     "debugger",
     23   ]</b>,
     24   ...
     25 }
     26 </pre>
     27 
     28 
     29 <h2 id="examples">Examples</h2>
     30 
     31 <p>
     32 You can find samples of this API in
     33 <a href="samples#debugger">Samples</a>.
     34 </p>
     35