1.安装xdebug修改php.ini[Xdebug]zend_extension="/usr/local/php/lib/php/extensions/no-debug-non-zts-20160303/xdebug.so" xdebug.remote_enable=1 #xdebug.var_display_max_children=128 #xdebug.var_display_max_data=51200000 #xdebug.var_display_max_depth=5 xdebug.remote_host=10.207.6.236xdebug.remote_port=9000xdebug.remote_connect_back = 1xdebug.remote_autostart = 1xdebug.idekey=PHPSTORM遇到的问题:重启php-fpm之后报502错误,配置文件文件有问题2.phpstrom配置xdebugphpstrom2017.2.1file>settings>languages & frameworks>php>debug配置xdebug port 9000服务器blog.com 80IDE KEY :PHPSTORMhost: blog.comport 9000参考链接https://www.cnblogs.com/yjken/p/6555438.html
转载于:https://www.cnblogs.com/maxingkai/p/7976020.html