Basic Installation Reference
Http://blog.csdn.net/oscar999/article/details/6713666
This section only describes how to use the Zend debugger. php web file in PDT.
1. decompress the downloaded Zend debugger file.
1.1) Copy zenddebugger. dll under 5_2_x_comp to the PHP installation directory (for example, D: \ PHP. Use the corresponding zenddebugger version based on the PHP installation Version)
1.2) Copy dummy. php to the root directory of the website (for example, D: \ apache2 \ htdocs)
2. Open PHP. ini and add it to the end of the file.
[Zend debugger]
Zend_extension_ts = "D:/PHP/zenddebugger. dll"
Zend_debugger.allow_hosts = 127.0.0.1
Zend_debugger.expose_remotely = allowed_hosts
Note: zend_debugger.allow_hosts is recommended to use the IP address of the machine (you can view it in cmd using ipconfig/All)
After Zend debugger is installed, you can use the phpinfo function to check whether the installation is successful.
Create a new phpinfo. php file in the website directory and restart Web server. to access this file
<?phpphpinfo();?>
If the following content is found, the installation is successful (texture required)
Zend engine v2.2.0, copyright (c) 1998-2010 Zend Technologies
With Zend debugger v5.2.15, copyright (c) 1999-2008, by Zend Technologies
The next step is how to debug it in eclipse.
1. Click the bug icon and select debug deployments.
2. Double-click php web page --> new_configuration
3. Click Configure... configure the correct IP address and port
4. Select the file to be debugged.
5. Click test debugger. The "success" dialog box is displayed, indicating that the operation is successful.
6. F6 debugging