NetBeans shows "Waiting for connection (netbeans-xdebug)"
Overview
This issue "Waiting for connection (netbeans-xdebug)" error message due to inability to configure Xdebug in NetBeans IDE to debug the project.
Environment information
Configuration
Modify php.ini file
Make sure that the php.ini file contains the following configuration:
[XDebug] zend_extension = "C:\xampp\php\ext\php_xdebug-2.2.3-5.4-vc9-nts.dll" xdebug.remote_autostart=on xdebug.remote_enable=on xdebug.remote_enable=1 xdebug.remote_handler="dbgp" xdebug.remote_host=192.168.1.5 xdebug.remote_port=9000 xdebug.remote_mode=req xdebug.idekey="netbeans-xdebug"
NetBeans configuration
In NetBeans IDE:
Restart Apache
Save php.ini and restart the Apache server.
Results
After following these steps, you should be able to debug your project in NetBeans without the "Waiting for connection (netbeans-xdebug)" error message.
The above is the detailed content of How to Resolve the \'Waiting for Connection (netbeans-xdebug)\' Error in NetBeans. For more information, please follow other related articles on the PHP Chinese website!