<ul dir="auto">
<li>Electron version: v1.7.0</li>
<li>Operating system: Linux Mint 18 x64</li>
</ul>
<p dir="auto">I tried to debug an electron with visual studio code. But I got an error so I tried to start electron with the same arguments in the shell: "electron --debug-brk", which produces an segmentation fault immediately. Also using "electron --debug" produces this result.  Whether I specify a port "electron --debug=9999" does not matter, still the same result.</p>
<ul dir="auto">
<li>Electron version: 1.7.0</li>
<li>Operating system: macOS</li>
</ul>
<h3 dir="auto">Expected behavior</h3>
<p dir="auto">Electron works with <code class="notranslate">--debug</code> or <code class="notranslate">-debug</code> argument</p>

<h3 dir="auto">Actual behavior</h3>
<p dir="auto">Electron won't run with arguments above.</p>

<h3 dir="auto">How to reproduce</h3>
<p dir="auto">I've tried the standalone .app and the npm modules:</p>
<ul dir="auto">
<li>
<p dir="auto">for standalone .app it shows an error and returns a non-zero<br>
(with "IOVARendererID property not found" the welcome window appears and I've manually close it)<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/3816900/25955449/e4d09a72-369b-11e7-894b-415231293022.png"><img src="https://cloud.githubusercontent.com/assets/3816900/25955449/e4d09a72-369b-11e7-894b-415231293022.png" alt="image" style="max-width: 100%;"></a></p>
</li>
<li>
<p dir="auto">for npm module it just won't start and no error returns<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/3816900/25955695/84b36dee-369c-11e7-9d19-6014f13d9a50.png"><img src="https://cloud.githubusercontent.com/assets/3816900/25955695/84b36dee-369c-11e7-9d19-6014f13d9a50.png" alt="image" style="max-width: 100%;"></a></p>
</li>
</ul>
<p dir="auto">I can confirm the <code class="notranslate">--debug</code> works with previous versions including 1.6.9 beta</p>