title: Using PhpStorm for Remote Debugging - something not quite right
body: <p>I am following steps here to perform debugging on remote server:</p>
  
  <p><a href="https://www.jetbrains.com/help/phpstorm/remote-debugging-via-ssh-tunnel.html" rel="nofollow noreferrer">https://www.jetbrains.com/help/phpstorm/remote-debugging-via-ssh-tunnel.html</a></p>
  
  <p>Locally I am using MAC Sierra.</p>
  
  <p>In PhpStorm I have PHP 7.0 as CLI, and it shows Xdebug is installed. In the php.ini I have</p>
  
  <pre><code>zend_extension=/usr/lib/php/extensions/no-debug-non-zts-20131226/xdebug.so
  xdebug.remote_enable=1
  xdebug.remote_host=127.0.0.1
  xdebug.remote_port=9000
  </code></pre>
  
  <p>phpinfo also shows Xdebug is enabled.</p>
  
  <p>Under <code>Preferences-&gt;Languages-&gt;PHP-&gt;debug</code> I have port 9000 set for Xdebug and <code>Enable remote connections</code> is checked. I also set <code>Break at first line</code> just to be sure.</p>
  
  <p>I also have SSH tunnel up and running via this command from my MAC terminal:</p>
  
  <pre><code>ssh -R 9000:localhost:9000 user@myremotesite.com
  </code></pre>
  
  <p>which successfully established SSH connection.</p>
  
  <p>I restarted Apache on my local computer, set breakpoint at <code>index.php</code> file of the remote site (though this amounts to setting breakpoint in local file, but my understanding that is how this works and I have path mapping set up), enabled listen to incoming debug connections, installed xdebug extension for chrome and enabled it, loaded the remote page in question, but PhpStorm does not break.</p>
  
  <p>Now, based on the instructions, I didn't see that I have to do any setup on the remote server. My understanding is that if I type an address in the browser after doing required steps it will trigger break in PhpStorm.</p>
  
  <p>I feel like I am missing something.</p>
  
  <p>Ideas?</p>