1 – Open http://localhost/xampp/index.php and select phpinfo() to see what version of php are you using.
2 – Download the correct x-debug file from http://www.xdebug.org/download.php. This is very important, a wrong file will broke xdebug.
3 – Save this file In "C:\Archivos de programa\xampp\php\ext\php_xdebug-2.0.3-5.2.5.dll" or where you have xampp installed.
4 – Open to xampp\apache\bin\php.ini and open php.ini.
5 – Find [Zend] and comment with ";" all the entries bellow "[Zend]".
6 – Copy the following code
zend_extension_ts="C:\Archivos de programa\xampp\php\ext\php_xdebug-2.0.3-5.2.5.dll"
xdebug.remote_enable=On
xdebug.remote_host="localhost"
xdebug.remote_port=9000
7 – Modify "zend_extension_ts" with the correct value.
8 – Restart apache.
9 – Check the installation. Go to PhpInfo() and you will see
"This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
with Xdebug v2.0.4, Copyright (c) 2002-2008, by Derick Rethans".
10 – From Netbeans click on debug.
http://wiki.netbeans.org/HowToConfigureXDebug
--
Eduardo R. Coll