<p dir="auto">Debugging an extension does not work if the WiFi adapter is disabled on my laptop. (i.e in airplane mode). I get the message "Cannot connect to runtime process (reason: [object Object])", while the debug window said it could not connect to the debugger.</p>
<p dir="auto">Additionally it would be nice for the debugging window to give  a better message than [object Object], and for it to log the message in the debug console.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/817264/11458555/31e39e50-96ba-11e5-8e26-6c3fe695b0b9.PNG"><img src="https://cloud.githubusercontent.com/assets/817264/11458555/31e39e50-96ba-11e5-8e26-6c3fe695b0b9.PNG" alt="vscode_wifi_debug_issue" style="max-width: 100%;"></a></p>
<p dir="auto">If my wifi is offline or my laptop is in flight mode I am unable to launch the VSCode debugger for debugging extensions.</p>
<h2 dir="auto">Steps to repo</h2>
<ol dir="auto">
<li>Clone a repository with an extension (or <code class="notranslate">yo code</code>)</li>
<li>Restore npm packages</li>
<li>Open extension in VS Code</li>
<li>Press <code class="notranslate">F5</code></li>
</ol>
<p dir="auto">When doing so the following error is displayed:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/434140/11396522/27d92b88-93c6-11e5-85a1-49f039dac7f6.PNG"><img src="https://cloud.githubusercontent.com/assets/434140/11396522/27d92b88-93c6-11e5-85a1-49f039dac7f6.PNG" alt="vscode-error" style="max-width: 100%;"></a></p>
<p dir="auto">I've reproduced it on my machine while network disconnected and while in flight mode. Once wifi connectivity is reestablished it works just fine, I didn't close/open VS Code in between.</p>
<h2 dir="auto">System info</h2>
<ul dir="auto">
<li>Windows 10 (latest updates via fast ring)</li>
<li>VS Code 0.10.1</li>
<li>Node.js 4.0.0</li>
<li>npm 3.4.1</li>
</ul>