title: VSCode not parsing inline sourcemaps properly when debugging Node
body: <p>I'm trying to debug an application in a multi-root project structure ( the root folder containing multiple projects ) and I'm having trouble getting vscode's debugger to recognize the sourcemaps that babel generates.</p>
  <p>I have this in my <code>launch.json</code></p>
  <pre class="lang-js prettyprint-override"><code>{
      &quot;configurations&quot;: [
          {
              &quot;console&quot;: &quot;integratedTerminal&quot;,
              &quot;internalConsoleOptions&quot;: &quot;neverOpen&quot;,
              &quot;name&quot;: &quot;nodemon&quot;,
              &quot;program&quot;: &quot;${workspaceFolder}/project/index.js&quot;,
              &quot;request&quot;: &quot;launch&quot;,
              &quot;cwd&quot;: &quot;${workspaceFolder}/project&quot;,
              &quot;restart&quot;: true,
              &quot;sourceMaps&quot;: true,
              &quot;runtimeExecutable&quot;: &quot;nodemon&quot;,
              &quot;runtimeArgs&quot;: [ &quot;--inspect&quot;, &quot;--exec&quot;, &quot;${workspaceFolder}/node_modules/.bin/babel-node --config-file ./.babelrc.js&quot;, ],
              &quot;skipFiles&quot;: [
                  &quot;&lt;node_internals&gt;/**&quot;,
              ],
              &quot;type&quot;: &quot;pwa-node&quot;
          }
      ]
  }
  </code></pre>
  <p>.babelrc.js</p>
  <pre class="lang-js prettyprint-override"><code>module.exports = {
    &quot;sourceMaps&quot;: &quot;both&quot;,
    &quot;presets&quot;: [
      [ &quot;@babel/env&quot;, {
        &quot;targets&quot;: {
          &quot;node&quot;: &quot;current&quot;
        }
      }]
    ],
    &quot;plugins&quot;: [
      &quot;@babel/plugin-proposal-class-properties&quot;,
      &quot;source-map-support&quot;
    ],
  }
  </code></pre>
  <p>and my <code>index.js</code> file</p>
  <pre class="lang-js prettyprint-override"><code>require('source-map-support/register')
  require('@babel/register');
  require('@babel/polyfill');
  require('./app.js');
  </code></pre>
  <p>When I add a breakpoint, it adds it to another location, when I click on the breakpoint itself, it opens up the compiled file and I see that the breakpoint is at the wrong location. I also see that the sourcemaps have been inlined, but it appears that vscode does not parse them properly, or not parse them at all.</p>
  <p>I tried to play around with the settings involving the word sourcemap in their name, none of them seemed to work.</p>
  <p>If I open the project the same way in Webstorm and attach to the running process, it parses the sourcemaps properly and stops where necessary, but vscode is unable to do so, for some reason.</p>
  <p>I tried to open just this one project in vscode and move the .vscode folder inside of the <code>project</code> folder, but it didn't yield any results whatsoever, so I think it is irrelevant, I just decided to mention it if it helps with the issue.</p>