xdebug code in php.ini for Netbeans

After enabling XDebug extension, give this code in php.ini to attach Netbeans to Xdebug.

xdebug.remote_enable=on
xdebug.remote_log=”/var/log/xdebug.log”
xdebug.remote_host=localhost
xdebug.remote_handler=dbgp
xdebug.remote_port=9000

0