title: node runs code but does not stop at breakpoints in vscode
body: <p>I have simple test code in <code>node.js</code> which i run in <code>vscode</code> on <code>windows 10</code>.</p>
  <p>I put a breakpoint on the first line of code.</p>
  <pre><code>let x = 'hello world'
  console.log(x)
  </code></pre>
  <p>my <code>launch.json</code> configuations are as follows.</p>
  <pre><code>&quot;version&quot;: &quot;0.2.0&quot;,
  &quot;configurations&quot;: [
  
  
      // nodes
      {
          &quot;type&quot;: &quot;node&quot;,
          &quot;request&quot;: &quot;launch&quot;,
          &quot;name&quot;: &quot;node: Launch Program&quot;,
          &quot;program&quot;: &quot;${file}&quot;,
          &quot;console&quot;: &quot;integratedTerminal&quot;,
      },
      {
          &quot;type&quot;: &quot;node&quot;,
          &quot;request&quot;: &quot;launch&quot;,
          &quot;name&quot;: &quot;node: Launch Program (External Terminal)&quot;,
          &quot;program&quot;: &quot;${file}&quot;,
          &quot;console&quot;: &quot;externalTerminal&quot;
      }
      ]
  </code></pre>
  <p>The code runs in the integrated terminal and also the external terminal, but does not stop at the breakpoint if i were to set one.</p>
  <p>This is what i see in the integrated terminal:</p>
  <pre><code>C:\Users\Owner\Dropbox\programming\javascript&gt; cd c:\Users\Owner\Dropbox\programming\javascript &amp;&amp; cmd /C &quot;set &quot;NODE_OPTIONS=--require C:\Users\Owner\AppData\Local\Temp\vscode-js-debug-bootloader.js&quot; &amp;&amp; set &quot;VSCODE_INSPECTOR_OPTIONS={&quot;inspectorIpc&quot;:&quot;\\\\.\\pipe\\node-cdp.24028-42.sock&quot;,&quot;deferredMode&quot;:false,&quot;waitForDebugger&quot;:&quot;&quot;,&quot;execPath&quot;:&quot;C:\\Program Files\\nodejs\\node.exe&quot;,&quot;onlyEntrypoint&quot;:false,&quot;autoAttachMode&quot;:&quot;always&quot;,&quot;fileCallback&quot;:&quot;C:\\Users\\Owner\\AppData\\Local\\Temp\\node-debug-callback-101745418fdd2bc6&quot;}&quot; &amp;&amp; &quot;C:\Program Files\nodejs\node.exe&quot; .\test.js &quot;
  Debugger listening on ws://127.0.0.1:52096/7c733fea-7053-4446-8901-4220611d16ad
  For help see https://nodejs.org/en/docs/inspector
  hello world
  </code></pre>
  <p>I have tried all kinds of configurations, but none seem to work. I must presume that i have not invoked the debugger. What i do know is that the debugger is invoked for <code>python</code> when doing similar.</p>
  <p>How can i get the code to stop at the breakpoint please ?</p>