title: No incoming connection for PhpStorm with xdebug (nginx / php-fpm)
body: <p>I figured I'd try using nginx instead of Apache and see how that works, and I'm up and running, but I cannot for the sake of my life figure out how to make PhpStorm capture the incoming xdebug connection. It worked perfectly when I was running Apache.</p>
  
  <p>Usually, you'd get an "incoming connection"-window in PhpStorm - this window now shines with its absence - and yes; I've read every single PhpStorm / Xdebug question on StackOverflow and neither has solved my issue.</p>
  
  <p>Configuration:
  OS: OSX Mavericks
  PhpStorm version: 7.1
  Xdebug version: 2.2.5</p>
  
  <p>Note that I'm running nginx and PHP through <code>php-fpm</code> which is working as expected. I've pointed out the same PHP-file as php-fpm is running to PhpStorm which successfully finds Xdebug as the debugger.</p>
  
  <p>Since <code>php-fpm</code> is running port 9000 just as Xdebug, I've changed this to 9900 and 9001 (tried both) and made sure to check my <code>phpinfo()</code> to see that the server has updated the php.ini config with it and I've checked that I've updated the Xdebug port in PhpStorm. I've also enabled "Start listening for debug connections" in PhpStorm.</p>
  
  <p>Xdebug config from php.ini:</p>
  
  <pre><code>[xdebug]
  zend_extension = /usr/local/Cellar/php55/5.5.14/lib/php/extensions/no-debug-non-zts-20121212/xdebug.so
  xdebug.auto_trace=0
  xdebug.default_enable=1
  xdebug.idekey="PHPSTORM"
  xdebug.profiler_enable=0
  xdebug.profiler_enable_trigger=0
  xdebug.profiler_output_dir="/tmp"
  xdebug.remote_enable=on
  xdebug.remote_handler=dbgp
  xdebug.remote_host=localhost
  xdebug.remote_mode=req
  xdebug.remote_port=9001
  </code></pre>
  
  <p>As mentioned - xdebug is loaded when I load <code>phpinfo()</code> in the browser and I've set the correct port in PhpStorm.</p>
  
  <p>Thanks for your help.</p>