Eclipse for PHP zenddebugger debugging

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.