I recently upgraded to Xdebug 3.0.1 on this server specs:
- Ubuntu Server 20.04
- PHP 7.3.24
- Xdebug 3.0.1
Xdebug is working fine, in the main config files I have this settings:
- /etc/php/7.3/cgi/conf.d/20-xdebug.ini
zend_extension=xdebug.so
- /etc/php/7.3/cgi/conf.d/21-xdebug-mgs.ini
xdebug.mode = debug
Then in my website root folder in the .user.ini I have
[xdebug]
xdebug.client_host = "10.0.0.2"
xdebug.client_port = 9001
xdebug.discover_client_host = false
xdebug.log = '/var/www/clients/client1/web2/web/j39vm36/administrator/logs/xdebug.log'
xdebug.profiler_output_name = cachegrind.out.%t.%p
xdebug.output_dir = '/var/www/clients/client1/web2/web/j39vm36/administrator/logs/'
xdebug.var_display_max_depth = -1
xdebug.var_display_max_children = -1
xdebug.var_display_max_data = -1
Despite having only those variables set, in phpinfo() I still get some old vars kicking up and getting Xdebug complain about it.