1. First need to download Xdebug, in the URL http://www.xdebug.org/download.php can be downloaded according to the actual configuration environment, of course, some Apache installed after the installation of the item, there is no need to deal with;
2. Configure the php.ini with the following parameters:
Zend_extension the node is the placement of the Xdebug path, where the path can be set based on the actual file placement (some put the DLL in the Ext folder), as shown in
Zend_extension = "D:/wamp/bin/php/php5.3.10/zend_ext/php_xdebug-2.1.2-5.3-vc9.dll"[xdebug]xdebug. Remote _enable=onxdebug. remote_handler=dbgpxdebug. remote_host=localhostxdebug. remote_port= 9000
After the configuration is successful, you can use the Phpinfo () function to query to the following interface (which may vary slightly depending on the version), as shown in:
3. Configuring NetBeans Debugging
NetBeans IDE Configuration debugging