title: How can I attach the Chrome/Edge DevTools node inspector to node?
body: <p>I am attempting to both the node inspector in Chrome DevTools <code>chrome://inspect</code> and Edge DevTools <code>edge://inspect</code></p>
  <p>Node is running with the <code>--inspect-brk</code> option.</p>
  <p><a href="https://i.stack.imgur.com/XzPCS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XzPCS.png" alt="enter image description here" /></a></p>
  <p>Node says:</p>
  <pre><code>Debugger listening on ws://127.0.0.1:9229/c6149f1f-e0cf-4d7e-8cfb-11cffaaf34ad
  For help, see: https://nodejs.org/en/docs/inspector
  </code></pre>
  <p><strong>How do I know if the inspector is attached to node?</strong> The option to take a snapshot is greyed out, typing <code>console.log('hello')</code> doesn't do anything in the terminal where node is running. This makes it seem like I am not attached. But I can't see from the UI. Do I have to click something? What do I have to click? <strong>How can I attach the inspector to node?</strong></p>