• info@bizmate.biz

Enable PHP Debugging – Eclipse XAMPP Chrome

Enable PHP Debugging – Eclipse XAMPP Chrome

  1. Find your current php settings by performing one of the following
    1. Create a page to display the phpinfo() and copy to clipboard the source of this page
    2. In the command line run php -i and cop the output to clipboard
  2. Go to http://xdebug.org/wizard.php , paste the settings collected at step 1 in the form and submit
  3. Follow the instructions on the Wizard and include the zend_extension entry in the php.ini . Do not restart your server yet
  4. Lets add the following instructions to make sure we set php to listen for the remote chrome plug
    xdebug.remote_enable=true
    xdebug.remote_port=9000
    xdebug.remote_handler=dbgp
  5. Restart the server and inspect again the PHP info for the page or from php -i from the command line, now you should see the Xdebug module enabled there similar to the screenshot below

Xdebug enabled in PHP.ini

Bizmate