Daily Archives: 17.08.2010
Как правильно установить xdebug для удобной работы
1. Скачиваем расширение — http://www.xdebug.org/download.php (я качаю ts) и копируем в папку с расширениями php. 2. В php.ini пишем zend_extension_ts = «/php_xdebug.dll» xdebug.remote_enable=1 xdebug.remote_handler=dbgp xdebug.remote_mode=req xdebug.remote_port=9000 xdebug.remote_host=localhost xdebug.idekey=bullgare ;ну или другой ;это для профилирования xdebug.profiler_enable=Off xdebug.profiler_output_dir=»c:\traces» xdebug.profiler_enable_trigger=On xdebug.profiler_output_name = cachegrind.out.%t.%p После перезапуска апача phpinfo будет содержать раздел xdebug.