1. 程式人生 > >PHP 動態調試

PHP 動態調試

erer tmp rem load end extension out 安裝 file

referer:http://blog.51cto.com/13770310/2175286
https://xdebug.org/download.php

phpstorm+phpstudy 動態調試環境,phpstorm安裝參考:http://blog.51cto.com/010bjsoft/2176217
phpstudy2016自帶xdebug擴展,不過php.ini不大一樣,要對照著參數改改。

安裝phpstudy後,開啟php擴展 xdebug

對照修改php.ini

[XDebug]
xdebug.profiler_output_dir="D:\phpStudy\tmp\xdebug"
xdebug.trace_output_dir="D:\phpStudy\tmp\xdebug"
zend_extension="D:\phpStudy\php\php-5.6.27-nts\ext\php_xdebug.dll"

xdebug.auto_trace=on
xdebug.collect_params=on
xdebug.collect_return=on
xdebug.profiler_enable=on
xdebug.remote_enable = on
xdebug.remote_handler = dbgp
xdebug.remote_host= 127.0.0.1
xdebug.remote_port = 9000
xdebug.idekey = PHPSTORM

PHP 動態調試