title: Using Eclipse to create and debug PHP code
body: <p>I have xampp with wordpress inside it. I have also downloaded the eclipse plugin for PHP from <a href="http://download.eclipse.org/tools/pdt/updates/3.0/milestones/" rel="nofollow noreferrer">http://download.eclipse.org/tools/pdt/updates/3.0/milestones/</a> .I want to create a project in eclipse (Indigo 3.7) and debug my PHP code. Is there a way to do it ?</p>
  
  <p>I have tried load of things. Finally, i decided i will go ahead with XDebug. I configured XDebug in PHP by modifying php.ini file and saw that it had been configured by viewing phpinfo().</p>
  
  <p>I have configured eclipse indigo to use XDebug as my php debugger but nothing is happening. </p>
  
  <p><strong>Steps I followed :</strong></p>
  
  <p>1) Created a PHP project in eclipse from existing location 
  For e.g. my project is in E:\others\xampp-win32-1.7.7-VC9\xampp\htdocs</p>
  
  <p>2) Modified php.ini file to support xdebug and verified from phpinfo() method.</p>
  
  <p>3) Configured eclipse to use XDebug as the PHP debugger.</p>
  
  <p>Following is how the PHP debug looks like:
  <img src="https://i.stack.imgur.com/oDVfc.jpg" alt="enter image description here"></p>
  
  <p>Secondly, comes the PHP executable:
  <img src="https://i.stack.imgur.com/QMaki.jpg" alt="enter image description here"></p>
  
  <p>Next, is what i think is something going wrong ! Configuring the PHP server. I read that we need to specify the path mapping and stuff. I didn't get exactly how to do that.
  <img src="https://i.stack.imgur.com/oNrYw.jpg" alt="enter image description here"></p>
  
  <p>and the path mapping for the server
  <img src="https://i.stack.imgur.com/wzUrS.jpg" alt="enter image description here">    </p>
  
  <p>Just to add when i try to debug the index.php file as debug as PHP script : it keeps on launching with the message <strong><em>Launching : Launching delegate (24%)</em></strong> and never completed execution.</p>
  
  <p>Can anyone suggest what is missing or needs to be corrected ? </p>
  
  <p><strong><em>PHP.ini file modification for XDebug</em></strong></p>
  
  <blockquote>
    <p>[XDebug]
    zend_extension = "E:\others\xampp-win32-1.7.7-VC9\xampp\php\ext\php_xdebug.dll"
    xdebug.remote_enable=1 
    xdebug.remote_host="127.0.0.1" 
    xdebug.remote_port=9000 
    xdebug.remote_handler="dbgp" 
    xdebug.remote_mode="req" </p>
  </blockquote>
  
  <p>Thanks,
  Adithya.</p>