This article mainly introduces the PHP add Xdebug extension method, the need for friends can refer to the
First, download the corresponding DLL two, put the file in the PHP installation directory in the Ext folder in three, modify the php.ini code as follows: [Xdebug] zend_extension=./ext/php_xdebug-2.2.3-5.3-vc9-nts.d ll "; The following is the parameter Xdebug.auto_trace=on xdebug.collect_params=on xdebug.collect_return=on xdebug.trace_output_dir="./xdebug "Xdebug.profiler_enable=on xdebug.profiler_output_dir="./xdebug "Note: xdebug.trace_output_dir="./xdebug "configuration is to put the debug file In the Xdebug folder under the PHP installation directory, create a new Xdebug folder under the PHP installation directory xdebug.profiler_output_dir= the "./xdebug" configuration is to place the debug files in the Xdebug folder under the running project. So to create a new Xdebug folder in the project directory test the new PHP file code is as follows: <?php Testxdebug (); function Testxdebug () {require_once (' abc.php '); ?> run to see if the file is generated in the Xdebug folder under the PHP installation directory, and the build file is successfully installed