XAMPPでXDebugを有効にする
(XAMPP 1.6.7 Windows版)
XAMPPにはPHPのデバッガXDebugが同梱されているとのこと。ただし、デフォルトでは無効。設定変更により有効にできる。細部は自信がないが、次のように設定する。
php.ini
下記を行をコメントにする。
[Zend] ;zend_extension_ts = "D:\xampp\php\zendOptimizer\lib\ZendExtensionManager.dll" (設定変更後の状態)
下記のコメントを外す.
[XDebug] ;; Only Zend OR (!) XDebug zend_extension_ts="D:\xampp\php\ext\php_xdebug.dll" xdebug.remote_enable=true xdebug.remote_host=127.0.0.1 xdebug.remote_port=9000 xdebug.remote_handler=dbgp xdebug.profiler_enable=1 xdebug.profiler_output_dir="D:\xampp\tmp" (設定変更後の状態)