
If you are okay with the Eclipse internal browser, skip this part. To set up a different web browser, follow these steps. If you don't like the internal web browser, you can use any other external web browser installed in your computer, such as Google Chrome, Chromium, Firefox and so on. When you debug a PHP project, Xdebug stops the code execution of the current page and Eclipse IDE by default pops out a perspective with 2 views containing the internal Eclipse IDE web browser and a view with the current HTML output. Note: You can set a different port number if necessary. In the list make sure the port the "Xdebug" option is set to the value "9000".On Eclipse go to: Toolbar → Window → Preferences → PHP → Debug → Installed Debugger.Find the option: "PHP Debugger" and set it to "Xdebug".On Eclipse go to: Toolbar → Window → Preferences → PHP → Debug.Note: You can set a different port number if you need to. That command should open the text editor with the Xdebug configuration file.Īt the end of the file content append the following text: Sudo gedit /etc/php5/mods-available/xdebug.ini Do a double click on the downloaded file, your package manager should do the rest of the work automatically.Visit this page here and download the most recent version available.

Wait until installation processes finish.Select "Eclipse IDE" in the search result list.Open the software center that comes with your distribution.Wait until the installation process finish.This is the recommended method because you will get updates and security patches automatically.

Port number for eclipse mac install#
There are several ways to download and install Xdebug to your Linux box, you can do it from your software center, terminal or manual download. Theses instructions should work fine on any Debian based distribution such as Debian, Ubuntu, LinuxMint, Xubuntu, Kbuntu and others.
