I am using Netbeans to do my project(codeigniter) and my xdebug is configured in php ini. The following are the setting:
zend_extension = \"C:\\xampp\\php\\ext\\php_x
This is what I did with the help of Derick's answer:
Step 1: Change xdebug.remote_port=9000 to xdebug.remote_port=9001
Step 2:
Step 3: Restart server and netbeans
Step 4: Set a breakpoint and try
First of all, you do need to turn on xdebug.remote_enable=1
— without that, debugging is not activated and it will not work.
For requests after the first "login", xdebug.remote_autostart
should deal with that, but it is possible that Netbeans doesn't accept the new incoming debugging connection. To find out what Xdebug is trying to do, add the setting xdebug.remote_log=c:\temp\xdebug.log
and investigate what's in the log. (You might have to change the path).