<p dir="auto">Hello guys!</p>
<p dir="auto">Some days ago I was trying to debug a Node.js application written in TypeScript from Visual Studio Code and I had some troubles; then I asked on <a href="http://stackoverflow.com/questions/35606423/visual-studio-code-debug-node-js-through-typescript" rel="nofollow">stackoverflow</a> and shared my code on <a href="https://github.com/7brutus7/stackoverflow">GitHub</a>.<br>
This is the latest working version, you can download it and <strong>debug</strong> correctly on Visual Studio Code (by "debug correctly" I mean that you can add a breakpoint on a .ts file and then see the debugger stopping on it) but if you then rename the <strong>root folder</strong> by adding some <strong>spaces in the path</strong> (for example changing from "stackoverflow" to "stack overflow") the debugger stops working and when launching it I get the following <strong>error</strong>:</p>
<p dir="auto"><code class="notranslate">Cannot launch program 'c:\Users\brutus\Desktop\stack overflow\src\app.ts'; setting the 'outDir' attribute might help.</code></p>
<p dir="auto">I think it's a <strong>bug</strong> but I'm not completely sure, can you confirm please?</p>
<p dir="auto">Thank you very much, hope this helps! 😄</p>
<p dir="auto">We had some team members who could not debug mocha unit-tests and others who could. We tracked the problem down to the path which contained spaces (in our case c:\development next\frontend) . This is probably also the cause of issues <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="134740126" data-permission-text="Title is private" data-url="https://github.com/microsoft/vscode/issues/3144" data-hovercard-type="issue" data-hovercard-url="/microsoft/vscode/issues/3144/hovercard" href="https://github.com/microsoft/vscode/issues/3144">#3144</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="138098419" data-permission-text="Title is private" data-url="https://github.com/microsoft/vscode/issues/3659" data-hovercard-type="issue" data-hovercard-url="/microsoft/vscode/issues/3659/hovercard" href="https://github.com/microsoft/vscode/issues/3659">#3659</a>.</p>
<p dir="auto">This issue has appeared in the last month, before that, we did not have problems with spaces in the path. We suspect that something is wrong with reading the sourcemaps.</p>