phpstorm docker 安装remote xdebug
2020-09-10 本文已影响0人
Jason_b3e0
-
复制本地php配置
phpinfo() ; 全选复制配置页内容 -
粘贴配置页内容,下载对应配置的xdebug文件
https://xdebug.org/wizard -
解压和编译
tar -xvzf xdebug-2.7.2.tgz
cd xdebug-2.7.2
phpize
./configure
make & make install -
php.ini 添加xdbug配置
zend_extension=xdebug.so
xdebug.remote_enable=1
xdebug.remote_connect_back=1
xdebug.remote_autostart=1
xdebug.remote_handler=dbgp
xdebug.idekey=PHPSTORM -
重启php-fpm
-
配置phpstorm
image.png








