Created
August 15, 2015 07:27
-
-
Save tranquangchau/462b94c5987db21fd0a3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Have you rectified the issue ?, if not please try this. | |
1)php.ini file content | |
zend_extension = "c:\xampp\php\ext\php_xdebug-2.2.3-5.4-vc9.dll" | |
xdebug.remote_autostart=on | |
xdebug.remote_enable=on | |
xdebug.remote_enable=1 | |
xdebug.remote_handler="dbgp" | |
;xdebug.remote_host="localhost:81" | |
xdebug.remote_host=192.168.1.5 | |
;xdebug.remote_connect_back=1 | |
xdebug.remote_port=9000 | |
xdebug.remote_mode=req | |
xdebug.idekey="netbeans-xdebug" | |
xdebug.remote_host=192.168.1.5 - This is the IPv4 address of my system, I changed to this because I couldn't debug with localhost and 127.0.0.1. | |
in NetBeans IDE, open Tools-> Options->PHP->Debugging. The values of debugger port and Session Id should match with the port and idekey specified in php.ini | |
Now save php.ini, restart Apache and now try for debugging | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment