Download the relevant file at http://www.zend.com/en/products/studio/downloads.
Studio for eclipse
Zenddebugger
Studio browser toolbars
Debugging considerations
PHP debugging is a little different from Java development. For breakpoint debugging of PHP, you need to install Zend studio toolbar in the browser and install and configure the Zend debugger plug-in PHP, debugging is triggered by clicking the debug item of the Zend studio toolbar in the browser.
1. When "Current page" is selected, it indicates debugging the current page, that is, the current page represented by the browser URL. Assume that the current URL is a URL of phpBB.
2. "Next page" indicates that the request triggered from the current page enters the debugging status.
3. "All Forms (post) on this site" all form requests enter the debugging status.
4. All pages on this site will enter the debugging status.
When Zend studio is in the debugging status, it is preferred to stop at the first line of the page, even if there is no breakpoint at the first line, if you want to enter the breakpoint set by the user, you have to press the rusume button in the debug window of Zend studio for eclipse once.
Zend debugger Installation
Download Zend debugger from the official website. Download URL:
Http://downloads.zend.com/pdt/server-debugger/ZendDebugger-5.2.14-cygwin_nt-i386.zip
1. Install Zend studio for eclipse
Add it to the php. ini directory of the PHP installation directory.
[Zend]
Zend_extension_ts = D:/PHP/EXT/zenddebugger. dll
Zend_debugger.allow_hosts = 127.0.0.1/32
Zend_debugger.allow_tunnel = 127.0.0.1/32
Zend_debugger.expose_remotely = always
Zenddebugger. dll must match the PHP version
3. Copy dummy. php with debugger to the root directory of the Apache website, for example, D:/apache2.2/htdocs.
4. Restart the Apche service.
5. Start Zend studio for eclipse and create a new project.
Turn: http://hi.baidu.com/kahn178/blog/item/73d455123dcc968c6438dbe2.html