title: Install xdebug on El Capitan with homebrew
body: <p>Dumb question I think, but I have PHP 5.6.14 running on El Capitan.</p>
  
  <p>I have installed xdebug with</p>
  
  <pre><code>brew install php56-xdebug
  </code></pre>
  
  <p>But there is no mention of xdebug in phpinfo</p>
  
  <p>phpinfo reveals:</p>
  
  <pre><code>Configuration File (php.ini) Path:  /etc
  </code></pre>
  
  <p>When I run brew install php56-xdebug again, I get</p>
  
  <pre><code>homebrew/php/php56-xdebug-2.3.3 already installed
  </code></pre>
  
  <p>So I'm guessing that brew has installed xdebug on a path (where?) which is for a different version of PHP which I'm not actually running.</p>
  
  <p>Can somebody help me understand what brew has done, and how I can configure the version of PHP that I'm running to include xdebug.</p>