Netbeans idesinde php kodlarınıza debug yapmak isterseniz;
xdebug paketini kurun
sudo apt-get install php5-xdebug
daha sonra
/etc/php5/apache2/php.ini dosyasını editleyip aşağıdaki satıları ekleyin;
xdebug.remote_enable=on
xdebug.remote_handler=dbgp
xdebug.remote_host=localhost
xdebug.remote_port=9000
apacheyi restart edip hatalarınızı bulmaya başlıyabilirsiniz.
Tags: debug, netbeans, php, php debug, xdebug
Post a Comment