title: Xdebug - command is not available
body: <p>I'm debugging remotely my project in PhpStorm. IDE shows 'Connected' for a moment and immediately goes into 'Waiting for incoming connection...'</p>
  
  <p>Below is Xdebug log from this session</p>
  
  <pre><code>I: Connecting to configured address/port: X.x.x.x:9000.
  I: Connected to client. :-)
  &amp;gt; &amp;lt;init xmlns=&amp;quot;urn:debugger_protocol_v1&amp;quot; xmlns:xdebug=&amp;quot;http://xdebug.org/dbgp/xdebug&amp;quot; fileuri=&amp;quot;file:///xxx/info.php&amp;quot; language=&amp;quot;PHP&amp;quot; protocol_version=&amp;quot;1.0&amp;quot; appid=&amp;quot;4365&amp;quot; idekey=&amp;quot;10594&amp;quot;&amp;gt;&amp;lt;engine version=&amp;quot;2.2.2&amp;quot;&amp;gt;&amp;lt;![CDATA[Xdebug]]&amp;gt;&amp;lt;/engine&amp;gt;&amp;lt;author&amp;gt;&amp;lt;![CDATA[Derick Rethans]]&amp;gt;&amp;lt;/author&amp;gt;&amp;lt;url&amp;gt;&amp;lt;![CDATAhttp://xdebug.org]&amp;gt;&amp;lt;/url&amp;gt;&amp;lt;copyright&amp;gt;&amp;lt;![CDATA[Copyright (c) 2002-2013 by Derick Rethans]]&amp;gt;&amp;lt;/copyright&amp;gt;&amp;lt;/init&amp;gt;
  
  &amp;lt;- feature_set -i 0 -n show_hidden -v 1
  &amp;gt; &amp;lt;response xmlns=&amp;quot;urn:debugger_protocol_v1&amp;quot; xmlns:xdebug=&amp;quot;http://xdebug.org/dbgp/xdebug&amp;quot; command=&amp;quot;feature_set&amp;quot; transaction_id=&amp;quot;0&amp;quot; feature=&amp;quot;show_hidden&amp;quot; success=&amp;quot;1&amp;quot;&amp;gt;&amp;lt;/response&amp;gt;
  
  &amp;lt;- feature_set -i 1 -n max_depth -v 1
  &amp;gt; &amp;lt;response xmlns=&amp;quot;urn:debugger_protocol_v1&amp;quot; xmlns:xdebug=&amp;quot;http://xdebug.org/dbgp/xdebug&amp;quot; command=&amp;quot;feature_set&amp;quot; transaction_id=&amp;quot;1&amp;quot; feature=&amp;quot;max_depth&amp;quot; success=&amp;quot;1&amp;quot;&amp;gt;&amp;lt;/response&amp;gt;
  
  &amp;lt;- feature_set -i 2 -n max_children -v 100
  &amp;gt; &amp;lt;response xmlns=&amp;quot;urn:debugger_protocol_v1&amp;quot; xmlns:xdebug=&amp;quot;http://xdebug.org/dbgp/xdebug&amp;quot; command=&amp;quot;feature_set&amp;quot; transaction_id=&amp;quot;2&amp;quot; feature=&amp;quot;max_children&amp;quot; success=&amp;quot;1&amp;quot;&amp;gt;&amp;lt;/response&amp;gt;
  
  &amp;lt;- status -i 3
  &amp;gt; &amp;lt;response xmlns=&amp;quot;urn:debugger_protocol_v1&amp;quot; xmlns:xdebug=&amp;quot;http://xdebug.org/dbgp/xdebug&amp;quot; command=&amp;quot;status&amp;quot; transaction_id=&amp;quot;3&amp;quot; status=&amp;quot;starting&amp;quot; reason=&amp;quot;ok&amp;quot;&amp;gt;&amp;lt;/response&amp;gt;
  
  &amp;lt;- step_into -i 4
  &amp;gt; &amp;lt;response xmlns=&amp;quot;urn:debugger_protocol_v1&amp;quot; xmlns:xdebug=&amp;quot;http://xdebug.org/dbgp/xdebug&amp;quot; command=&amp;quot;step_into&amp;quot; transaction_id=&amp;quot;4&amp;quot; status=&amp;quot;stopping&amp;quot; reason=&amp;quot;ok&amp;quot;&amp;gt;&amp;lt;/response&amp;gt;
  
  &amp;lt;- breakpoint_set -i 5 -t line -f file://xxx/info.php -n 3
  &amp;gt; &amp;lt;response xmlns=&amp;quot;urn:debugger_protocol_v1&amp;quot; xmlns:xdebug=&amp;quot;http://xdebug.org/dbgp/xdebug&amp;quot; command=&amp;quot;breakpoint_set&amp;quot; transaction_id=&amp;quot;5&amp;quot;&amp;gt;&amp;lt;error code=&amp;quot;5&amp;quot;&amp;gt;&amp;lt;message&amp;gt;&amp;lt;![CDATA[command is not available]]&amp;gt;&amp;lt;/message&amp;gt;&amp;lt;/error&amp;gt;&amp;lt;/response&amp;gt;
  &amp;quot;
  </code></pre>
  
  <p>According to Xdebug documentation status "stopping" is
  'State after completion of code execution. This typically happens at the end of code execution, allowing the IDE to further interact with the debugger engine (for example, to collect performance data, or use other extended commands).'</p>
  
  <p>So my debugger stops before reaching first breakpoint (set on first line).</p>
  
  <p>Could it be a question of server configuration?</p>