@开启phpstudy的xdebug
@配置php.ini
xdebug.profiler_append = 0
xdebug.profiler_enable = 1
xdebug.profiler_enable_trigger = 0
xdebug.profiler_output_dir="D:\phpStudy\PHPTutorial\tmp\xdebug"
xdebug.trace_output_dir="D:\phpStudy\PHPTutorial\tmp\xdebug"
xdebug.profiler_output_name = "cache.out.%t-%s"
xdebug.remote_enable = 1
xdebug.remote_handler = "dbgp"
xdebug.remote_host = "127.0.0.1"
zend_extension="D:\phpStudy\PHPTutorial\php\php-7.0.12-nts\ext\php_xdebug.dll"
xdebug.remote_port = 9100
xdebug.remote_mode = "req"
xdebug.idekey = PHPSTORM
@Chrome浏览器安装xdebug扩展
#idekey,修改为phpstorm
#白名单(Domain filter),将localhost和127.0.0.1配置进来。