title: Use Xdebug with PhpStorm and WSL
body: <p>I use WSL (Ubuntu 16.14) from Windows 10 as a web server with PHP 7.1 fpm and Apache.</p>
  
  <p>I want to use Xdebug from PhpStorm 2018 with WSL but it's not working well.</p>
  
  <p>Xdebug is installed on my Ubuntu server and it works well, I see it on <code>phpinfo()</code> output.</p>
  
  <p>Here the php.ini config for Xdebug:</p>
  
  <pre><code>[Xdebug]
  zend_extension="/usr/lib/php/20170718/xdebug.so"
  xdebug.remote_enable = 1
  xdebug.remote_autostart = 1
  xdebug.remote_connect_back=On
  xdebug.remote_host=127.0.0.1
  xdebug.remote_port = 9001
  xdebug.idekey = PHPSTORM
  </code></pre>
  
  <p>I configured the port in php storm as 9001 too.</p>
  
  <p>The problem is more on the connection between PhpStorm and WSL. I try it with the remote way. In the <code>Run &gt; Edit config</code> popup, I use PHP Web Page and when I use the Validate tools, all is OK except the remote host.
  I set it to 127.0.0.1 and this is the point.</p>
  
  <p>When I listen the debugging tools, it said : Port 9001 is busy</p>
  
  <p>How can I do a link between localhost and localhost ?</p>