xdebug

php.iniを書き換え

C:\xampp\php\php.ini

[XDebug]
zend_extension = "C:\xampp\php\ext\php_xdebug.dll"
; for mac zend_extension="/opt/local/lib/php/extensions/no-debug-non-zts-20090626/xdebug.so"
xdebug.remote_enable=1
xdebug.remote_host=localhost
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
;xdebug.remote_mode=req

で設定完了です。
完了したらApacheを再起動します。