Cài đặt XDebug Giống như dbg, XDebug yêu cầu cài đặt của một module PHP được chia sẻ. Để tải về XDebug, vào . Cùng thanh điều hướng bên phải là phiên bản của XDebug. PHPEclipse hỗ trợ phiên bản , hiện đang trong phiên bản beta thứ hai. | Testing and Debugging Installing XDebug Like DBG XDebug requires installation of a shared PHP module. To download XDebug go to http www . rg. Along the right navigation bar are several versions of XDebug. PHPEclipse supports version which is currently in second beta. Windows Installation has DLL files already precompiled for Windows. The installation of this file mimics the method of installation of the DLL file for DBG. In order to use the precompiled versions of XDebug download the appropriate version for your version of PHP. Place this version in your PHP extensions directory the same one that you installed the DBG module. XDebug is less tied to your PHP version than DBG. Therefore you should not need to compile XDebug for Windows. Mac OS X Linux Installation Mac OS X and Linux will need XDebug compiled from source. The compile procedure is similar to that of DBG. We will reference the deferphpize module then compile and make the source code 1. Download the DBG module source files from http . Be sure to grab XDebug . The source code to the clients is also available but they can be ignored. 2. From the command line unzip this package and move into the directory. Blossom usr local src shuchow tar -xvzf xdebug- Blossom usr local src shuchow cd 3. From the XDebug source directory run phpize. This is a script that exists in the same directory as your PHP binary. This is the bin directory underneath your PHP installation. You may need to specify the absolute path to phpize. In Entropy this will be usr local php5 bi n phpize. Blossom usr local src shuchow us r local php5 bi n phpize 4. Configure with -enable-xdebug and -with-php-config. php-config is a script that is also in your PHP bin directory. When compiling you will need to enable XDebug and specify the location of php-confi g. Blossom usr local src shuchow . configure -enable-xdebug -with-php-config usr