1.下载安装phpstudy
2.选择切换php版本5.6.27
3.配置php.ini
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.remote_enable = On
xdebug.remote_handler = dbgp
xdebug.remote_host= localhost
####需要在phpstorm中配置
xdebug.remote_port = 9001
xdebug.idekey = PHPSTORM
网友评论