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!