XDebug in XAMPP and Netbeans

Having written a lot of PHP code for a project using Notepad++, I got tired with the limitations of not having an IDE containing a debugger, and refactoring tools.

Quick post mostly for myself to have a reference on how to setup XDEBUG (which was quite easy using XAMPP).
If you don’t want to go the long road download the full version of XAMPP here šŸ™‚

1) First off as the DLL is already located it does not need to be downloaded.
2) Open php.ini and make the following edits:

A) Uncomment the lineĀ zend_extension = “Somethingphp_xdebug.dll”
B) Uncomment the variables and set them as specified by netbeans …

Netbeans XDebug Settings

Finally some useful Ā interesting links which can shed more light:

http://shinephp.com/netbeans-7-0-php-waiting-for-connection-to-xdebug/
http://wiki.netbeans.org/HowToConfigureXDebug
http://xdebug.org/download.php

http://code.google.com/p/webgrind/wiki/Installation
http://www.chrisabernethy.com/php-profiling-xdebug-webgrind/



Menelaos Bakopoulos

Mr. Menelaos Bakopoulos is currently pursuing his PhD both at Center for TeleInFrastruktur (CTiF) at Aalborg University (AAU) in Denmark and Athens Information Technology (AIT) in Athens, Greece. He received a Master in Information Technology and Telecommunications Systems from Athens Information Technology and a B.Sc. in Computer Science & Management Information Systems from the American College of Thessaloniki. Since April 2008 he has been a member of the Multimedia, Knowledge, and Web Technologies Group.

More Posts