How to debug php code using X Debug in netbeans?
01-05-2017 23:58:51
PHP / Debugging
1 Bookmark(s)
150 View(s)
Past the below code in end of the php.ini file and restart the Server.
xdebug.remote_enable =1
xdebug.remote_hander =dbgp
xdebug.remote_mode = req
xdebug.remote_host =127.0.0.1
xdebug.remote_port = 9000
xdebug.idekey=netbeans-xdebug
Reference: php.ini file location in xampp C:\xampp\php\php.ini
Tags:
php code debugging, debugging, netbeans debugging