Eclipse For PHP Debug settings (Memo)

Source: Internet
Author: User
Tags php debug

I am confused about what I wrote on the Internet. I cannot understand it. I found it myself and wrote it out for memo.

 

1. Eclipse PDT: (eclipse-php-helios-win32)

Http://www.eclipse.org/downloads/download.php? File =/technology/epp/downloads/release/helios/R/eclipse-php-helios-win32.zip

 

2. Zend Debug Tool (ZendDebugger-5.2.15-cygwin_nt-i386)

Http://downloads.zend.com/pdt/server-debugger/ZendDebugger-5.2.15-cygwin_nt-i386.zip"

Copy the file and copy dummy. php to the wwwroot path.


 

3. Modify the Php. ini file

Add the following nodes:

[Zend]

Zend_extension_ts = ZendDebugger. dll (ZendDebugger. dllFile Path Set herePhp. iniSame directory)

Zend_debugger.allow_hosts = 127.0.0.1/32,192.168 .1.101/24 (server address)

Zend_debugger.expose_remotely = always

 

4. Restart the Apache server to check whether the following content exists:


 

 

The configuration is successful!

 

5. Configure Eclipse Debug as settings:

 


 

6. Write the test code and perform breakpoint settings F11, F8, F6, F5


 

Common shortcut key settings;


 

Related Article

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.