title: Installing and enabling Xdebug on MAMP PRO
body: <p>I am trying to set up Xdebug on my MAMP PRO installation. I tried xdebug.org/wizard.php to get the correct Xdebug version with custom installation instructions but I got stuck.</p>
  
  <p>According to step 4 in the <a href="http://i49.tinypic.com/33nvt5w.png" rel="nofollow">tailored installation instructions</a> I should get the following output:</p>
  
  <pre><code>Configuring for:
  ...
  Zend Module Api No:      20100525
  Zend Extension Api No:   220100525
  </code></pre>
  
  <p>But my output reads as follows:</p>
  
  <pre><code>Configuring for:
  PHP Api Version:         20090626
  Zend Module Api No:      20090626
  Zend Extension Api No:   220090626
  </code></pre>
  
  <p>Next I try <a href="http://i48.tinypic.com/1247v37.png" rel="nofollow">the instructions</a> at xdebug.org/docs/faq#custom-phpize because the tailored installation instructions advice me to do so.</p>
  
  <p>I undo the first step by deleting xdebug-2.2.1.tgz and the unpacked folder and then I start at step 1 again. My input for step 4 is</p>
  
  <pre><code>/Applications/MAMP/bin/php/php5.4.4/bin/phpize
  </code></pre>
  
  <p>and the output reads as follows:</p>
  
  <pre><code>grep: /Applications/MAMP/bin/php/php5.4.4/include/php/main/php.h: No such file or directory
  grep: /Applications/MAMP/bin/php/php5.4.4/include/php/Zend/zend_modules.h: No such file or directory
  grep: /Applications/MAMP/bin/php/php5.4.4/include/php/Zend/zend_extensions.h: No such file or directory
  Configuring for:
  PHP Api Version:        
  Zend Module Api No:     
  Zend Extension Api No: 
  </code></pre>
  
  <p>My guess would be that I need to install php.h, zend_modules.h and zend_extensions.h but I can not find them on the web. How do I best proceed in order to install Xdebug?</p>
  
  <p>Thanks.</p>