title: Debugging with setting Xdebug and PHPStorm
body: <p>i'm using PHPStorm and trying to run Xdebug according this video <a href="https://laracasts.com/series/how-to-be-awesome-in-phpstorm/episodes/20?autoplay=true" rel="nofollow noreferrer">https://laracasts.com/series/how-to-be-awesome-in-phpstorm/episodes/20?autoplay=true</a>.</p>
  
  <p>First part works perfectly (<a href="https://laracasts.com/series/how-to-be-awesome-in-phpstorm/episodes/19?autoplay=true" rel="nofollow noreferrer">https://laracasts.com/series/how-to-be-awesome-in-phpstorm/episodes/19?autoplay=true</a>), but i'm stuck at second one.</p>
  
  <p>Port 9000 was not working, so i changed it to 10000.</p>
  
  <p>I configured PHP Web Application configuration </p>
  
  <p><a href="https://i.stack.imgur.com/DanMb.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/DanMb.png" alt="enter image description here"></a>
  <a href="https://i.stack.imgur.com/gICzh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gICzh.png" alt="enter image description here"></a></p>
  
  <p>and after I press debug button, web is blank</p>
  
  <p><a href="https://i.stack.imgur.com/y5wmb.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/y5wmb.png" alt="enter image description here"></a></p>
  
  <p>and still loading and PHPStorm is waiting for incoming connection.</p>
  
  <p><a href="https://i.stack.imgur.com/Ogb0C.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Ogb0C.png" alt="enter image description here"></a></p>
  
  <p>I have checked "can accept external connection" at PHP - Debug - Xdebug and xdebug in php.ini configured like this:</p>
  
  <pre><code>[XDebug]
  
  zend_extension="/usr/local/Cellar/php56-xdebug/2.3.3/xdebug.so"
  
  xdebug.remote_enable = 1
  xdebug.cli_color = 1
  xdebug.show_local_vars = 1
  
  xdebug.remote_port = 10000
  xdebug.remote_host= localhost
  xdebug.remote_autostart = 1
  
  xdebug.remote_log="/usr/local/tmp/xdebug.log"
  xdebug.idekey = "PHPSTORM"
  xdebug.ide_key = "PHPSTORM"
  xdebug.profiler_enable = 1
  xdebug.profiler_output_dir="/usr/local/tmp/xdebug-profiler"
  xdebug.profiler_enable_trigger = 1
  </code></pre>
  
  <p>I tried to validate web server with this result: </p>
  
  <p><a href="https://i.stack.imgur.com/e7Mr1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/e7Mr1.png" alt="enter image description here"></a></p>
  
  <p>I was googling and trying solve this for 6 hours, try to help me please, i`m kind of dummy in this.</p>
  
  <p>Using OS X El Capitan.</p>
  
  <p>I can debug single script, but not a whole website.</p>
  
  <p>When i run this directly online-chef.dev:10000, it says ERR_CONNECTION_REFUSED.</p>
  
  <p>"online-chef.dev" is at local virtual host.</p>
  
  <p>What I am doing wrong?</p>
  
  <p>Thank you so much!</p>