Para configurar Xdebug, hay que indicar la librería que contiene xdebug y toda la configuración, dentro de nuestro fichero php.ini en la sección:
[Xdebug]
Ejemplo de como quedaría:
; XDEBUG Extension
;zend_extension = "c:/wamp/bin/php/php5.5.12/zend_ext/php_xdebug-2.2.5-5.5-vc11-x86_64.dll"
zend_extension = c:\wamp\bin\php\php5.5.12\ext\php_xdebug-2.3.2-5.5-vc11-x86_64.dll
;
[xdebug]
xdebug.default_enable = on
xdebug.idekey = netbeans-xdebug
xdebug.remote_autostart = on
xdebug.remote_enable = on
xdebug.remote_handler = dbgp
xdebug.remote_mode = req
xdebug.remote_port = 9000
;xdebug.remote_enable = off
;xdebug.profiler_enable = off
;xdebug.profiler_enable_trigger = off
;xdebug.profiler_output_name = cachegrind.out.%t.%p
xdebug.profiler_output_dir = "c:/wamp/tmp"
xdebug.show_local_vars=1
xdebug.remote_log="c:/wamp/logs/xdebug/xdebug.log"
xdebug.max_nesting_level=450