Xdebug не слушает порт
Стоит php-fpm + xdebug + nginx на Ubuntu 18.04 из репы ondrej sury.
root@antoshka117:~# apt-cache show php-xdebug
Package: php-xdebug
Source: xdebug
Priority: optional
Section: php
Installed-Size: 7759
Maintainer: Debian PHP PECL Maintainers <team+php-pecl@tracker.debian.org>
Architecture: amd64
Version: 2.7.0+2.5.5-1+ubuntu18.04.1+deb.sury.org+1
root@antoshka117:~# tail /etc/php/7.3/fpm/php.ini
; tab-width: 4
; End:
zend_extension = /usr/lib/php/20180731/xdebug.so
xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_host=192.168.112.1
xdebug.remote_port=9000
xdebug.remote_autostart=1
xdebug.remote_connect_back=0
xdebug.remote_log=/var/log/xdebug.log
xdebug.remote_autostart On On
xdebug.remote_connect_back Off Off
xdebug.remote_cookie_expire_time 3600 3600
xdebug.remote_enable On On
xdebug.remote_handler dbgp dbgp
xdebug.remote_host 192.168.112.1 192.168.112.1
xdebug.remote_log /var/log/xdebug.log /var/log/xdebug.log
xdebug.remote_mode req req
xdebug.remote_port 9000 9000