title: Xdebug not catch queries from server in PhpStorm
body: <p>If I post a query from Node to PHP app (browser -&gt; nginx -&gt; node -&gt; php (<code>localhost:9000</code>)). PhpStorm not catch it.</p>
  <p>If request is posted from a browser (with Xdebug helper extension) then PhpStorm will catch it.</p>
  <p>Xdebug version is 3.0.2. My xdebug php.ini section (fpm | CLI | Apache 2 | CGI - all the same):</p>
  <pre class="lang-ini prettyprint-override"><code>[xdebug]
  zend_extension=&quot;/usr/lib/php/20190902/xdebug.so&quot;
  xdebug.start_with_request=yes
  xdebug.idekey=PHPSTORM
  xdebug.mode=debug
  xdebug.client_host=127.0.0.1
  xdebug.client_port=9003
  </code></pre>
  <p><code>php -v</code>:</p>
  <pre><code>PHP 7.4.15 (cli) (built: Feb 19 2021 15:42:28) ( NTS )
  Zend Engine v3.4.0, Copyright (c) Zend Technologies
      with Xdebug v3.0.2, Copyright (c) 2002-2021, by Derick Rethans
      with Zend OPcache v7.4.15, Copyright (c), by Zend Technologies
  </code></pre>
  <p>phpinfo:</p>
  <pre><code>Step Debugger: enabled
  xdebug.client_host: 127.0.0.1
  xdebug.idekey: PHPSTORM
  xdebug.start_with_request: yes
  </code></pre>
  <p><code>php -i</code>:</p>
  <pre><code>xdebug.client_host =&gt; 127.0.0.1 =&gt; 127.0.0.1
  xdebug.client_port =&gt; 9003 =&gt; 9003
  xdebug.idekey =&gt; PHPSTORM =&gt; PHPSTORM
  xdebug.mode =&gt; debug =&gt; debug
  </code></pre>
  <p>PhpStorm settings:</p>
  <ul>
  <li>PHP -&gt; Debug -&gt; xdebug section:</li>
  <li>Debug port: 9003</li>
  <li>All checkmarks checked</li>
  <li>PHP -&gt; Debug -&gt; DBGP proxy:</li>
  <li>IDE key: PHPSTORM</li>
  <li>Host: 127.0.0.1</li>
  <li>Port: 9003</li>
  </ul>
  <p>PhpStorm debug config:</p>
  <ul>
  <li>remote debug</li>
  <li>name: 127.0.0.1</li>
  <li>filter debug connection - try with/without, it not helps</li>
  <li>server: 127.0.0.1 (name and host)</li>
  <li>port 80, path mapping settings correct (it works from browser)</li>
  <li>IDE key (session id): PHPSTORM</li>
  </ul>
  <p>How can I catch request from Node to PHP in PhpStorm?</p>
  <h2>Update</h2>
  <p>Add <code>xdebug.log</code>. From browser xdebug write it, from browser-&gt;node-&gt;php - it is empty</p>
  <p>Cause of the problem was wrong php socket link. When I linked socket to php7.4-fpm.sock , all works fine.</p>