<ul dir="auto">
<li>VSCode Version: v1.1</li>
<li>OS Version: windows 10</li>
<li>nodejs Version: v6</li>
</ul>
<p dir="auto">Steps to Reproduce:<br>
( a little bit complicate)</p>
<ol dir="auto">
<li>mkdir try-bugs &amp;&amp; cd try-bugs<br>
2.npm install -g vue-cli<br>
2.vue init webpack<br>
3.npm install<br>
4.set up a task in task.json, whose command is <code class="notranslate">npm</code>, args is <code class="notranslate">["run", "build"]</code></li>
<li>press <code class="notranslate">contrl + shift + b</code> to build the project<br>
6.then babel of webpack does not work in the right way<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/3315274/15247779/e2c30e2a-1948-11e6-85ef-065a9c4bb524.png"><img src="https://cloud.githubusercontent.com/assets/3315274/15247779/e2c30e2a-1948-11e6-85ef-065a9c4bb524.png" alt="image" style="max-width: 100%;"></a></li>
</ol>
<p dir="auto">Further description and guess:<br>
I have install a extension of vscode called <a href="https://marketplace.visualstudio.com/items?itemName=odonno.new-cmd" rel="nofollow">new-cmd </a>, which can enable you to open a new terminal from current work space directory by typing command <code class="notranslate">cmd</code> after pressing <code class="notranslate">f1</code> in vscode.<br>
If I open a terminal using this extension and then run <code class="notranslate">npm run build</code> in this terminal, it will show me the same bug as run the build task from vscode.<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/3315274/15247757/cc4b29d4-1948-11e6-98da-07de74a8b956.png"><img src="https://cloud.githubusercontent.com/assets/3315274/15247757/cc4b29d4-1948-11e6-98da-07de74a8b956.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">However, if I open a terminal manually by right click and run the same command, everything goes well.<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/3315274/15247842/53734e96-1949-11e6-9f70-fee948c954c0.png"><img src="https://cloud.githubusercontent.com/assets/3315274/15247842/53734e96-1949-11e6-9f70-fee948c954c0.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">I notice that there is one difference between the two terminal is that the disk name. The disk name in former terminal is <code class="notranslate">d:\</code> while the later one is <code class="notranslate">D:\</code>.<br>
In the project, from one hand, there are some code, the config of webpack specifically, related to <code class="notranslate">path.join(__dirname, ...)</code>, which will generate an absolute path to files begin with <code class="notranslate">D:\</code>. From the other hand, there are some other code use relative path to locate file, which will result in path to file begin with <code class="notranslate">d:\</code>.<br>
I wonder whether this caused my problem or not.<br>
By the way, if I repeat the process with node5, the bug disappear.</p>
<p dir="auto">OS Version: <strong>Windows</strong></p>
<ul dir="auto">
<li>generate a source map where the 'sourceRoot' uses an absolute path starting with a drive letter.</li>
<li>set a breakpoint in the source and try to hit it</li>
<li>edit the source map and change the case of the drive letter</li>
<li>restart the debug session and try  to hit it again</li>
</ul>
<p dir="auto">Observe: the breakpoint will be only hit once</p>
<p dir="auto">The problem is a path comparison in node-debug that doesn't ignore the case of the drive letter.</p>