Set up EclipsePDT in Ubuntu to implement php single-step debugging.

Source: Internet
Author: User
Recently, I downloaded EclipsePDT to learn php in my beloved Ubuntu, but when I wrote an example, I found it difficult to perform one-step debugging. As a result, I searched and found myself fruitless and had no choice but to go to the official page, see the following: DebuggerThePDTprojectdoesnotcontainserversideimplementationforPHPdebuggingandwillwelcomeanyopenso

Recently, I downloaded EclipsePDT to learn php in my beloved Ubuntu, but when I wrote an example, I found it difficult to perform one-step debugging. As a result, I searched and found myself fruitless and had no choice but to go to the official page, see the following:

Debugger

The PDT project does not contain server side implementation for PHP debugging and will welcome any open source or other cial implementation of the debug protocol (The debug protocol implemented can be found at http://www.eclipse.org/pdt/docs.php)

PHP Executable Debugger

Zend Executable Debugger-A free Eclipse plugin that adds PHP executable debug capabilities to the Eclipse environment.

PHP Web Server Debugger

Zend Web Server Debugger-Web server debugger binaries which shocould be installed on the web server.

XDebug Components-XDebug component for web server debugging.

Oh, so I went to the Zend page and saw:

Downloads Eclipse PHP-specific ins through the Eclipse update site. The package already des: PDT and the Zend Executable Debugger Eclipse Plugin.

Note: The PHP plugins are encoded in the "Download all in one package ".

Instructions:

Open Eclipse and go to Help-> Software Updates-> Find and Install

Select "Search for new features to install" and click "Next"

Create a New Remote Site with the following details:

Name: PDT

URL: http://downloads.zend.com/pdt

Check the PDT box and click "Next" to start the installation

Oh, that's all. I installed a Chinese package, but Datong Xiaoyi followed the operations described above. After the installation is complete, run Eclipse again, select the page for debugging, select the php Debug perspective (translated in Chinese), and press F11 to start debugging, press F5 to implement single-step debugging, which is very easy to use!

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.