Posts Tagged ‘xdebug’

25
Feb

netbeans ile php debug

   Posted by: İsmail ÇAKIR    in php

idesinde kodlarınıza yapmak isterseniz;

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.

Bookmark and Share
Tags: , , , ,

Tags: , , , ,

Switch to our mobile site