Appserv+Xdebug+Netbeans

My webserver is Appserv 2.5.10
after that
Download Xdebug 2.0.4 - 5.2VC6
then copy php_xdebug-2.0.4-5.2.8.dll into C:\AppServ\php5\ext

Open this file
C:\Windows\php.ini

Change
implicit_flush = On

and add
[XDebug]
;; Only Zend OR (!) XDebug
zend_extension_ts="C:\AppServ\php5\ext\php_xdebug-2.0.4-5.2.8.dll"
xdebug.remote_enable=On
xdebug.remote_host="localhost"
xdebug.remote_port=9000
xdebug.remote_handler="dbgp"
in to the bottom of php.ini

** dont't forget to restart your apache
and open your Netbeans
select Tools > Options
PHP 5 Interpreter: C:\AppServ\php5\php.exe
Debugger Port: 9000

enjoy debugging

Ref.
Depurar en PHP: Eclipse PDT + Xdebug

Comments

Post a Comment