"Waiting for incoming connection" | PhpStorm and xdebug
<p>I'm having some trouble with PhpStorm and xdebug (like some other people).</p>

<p>I seen, and tried: </p>

<p><a href="https://stackoverflow.com/questions/37183225/phpstorm-xdebug-waiting-for-incoming-connection-with-ide-key">PhpStorm Xdebug : Waiting for incoming connection with ide key </a></p>

<p><a href="https://stackoverflow.com/questions/26096056/phpstorm-xdebug-and-vagrant-still-waiting-for-incoming-connection">PhpStorm, xdebug and vagrant still waiting for incoming connection</a></p>

<p><a href="https://stackoverflow.com/questions/17715128/xdebug-phpstorm-waiting-for-incoming-connection-with-ide-key">Xdebug PhpStorm: Waiting for incoming connection with ide key</a></p>

<p>When I start the debugger I go a url that ends with <code>XDEBUG_SESSION_START=XXXXXX</code>. This is the same ID that I have on <code>phpinfo()</code>. </p>

<p>My config:</p>

<p><strong>php.ini</strong></p>

<pre><code>[Xdebug]
zend_extension=/Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20131226/xdebug.so
xdebug.remote_enable=1
xdebug.remote_host=192.168.1.113
xdebug.remote_port=9001
xdebug.idkey=PHPSTORM
xdebug.remote_log =/Users/gustavelmgren/xdebug.log
</code></pre>

<p><strong>xdebug.log</strong></p>

<pre><code>&gt; Log opened at 2016-11-09 19:52:07 I: Connecting to configured
&gt; address/port: 192.168.1.113:9001. I: Connected to client. :-)
&gt; -&gt; &lt;init xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug"
&gt; fileuri="file:///Users/gustavelmgren/dbwebb-kurser/anax-flat/htdocs/index.php"
&gt; language="PHP" protocol_version="1.0" appid="19557"
&gt; idekey="13691"&gt;&lt;engine
&gt; version="2.2.5"&gt;&lt;![CDATA[Xdebug]]&gt;&lt;/engine&gt;&lt;author&gt;&lt;![CDATA[Derick
&gt; Rethans]]&gt;&lt;/author&gt;&lt;url&gt;&lt;![CDATA[http://xdebug.org]]&gt;&lt;/url&gt;&lt;copyright&gt;&lt;![CDATA[Copyright (c) 2002-2014 by Derick Rethans]]&gt;&lt;/copyright&gt;&lt;/init&gt;
</code></pre>

<p><strong>PhpStorm settings</strong></p>

<p><a href="https://i.stack.imgur.com/0tYUv.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0tYUv.png" alt="DGBp Proxy"></a></p>

<p><a href="https://i.stack.imgur.com/SlejW.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SlejW.png" alt="phpinfo - xdebug"></a></p>

<p><a href="https://i.stack.imgur.com/RRMjs.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RRMjs.png" alt="Server"></a></p>

<p><a href="https://i.stack.imgur.com/KDjFP.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KDjFP.png" alt="Debug conf"></a></p>