After upgrading to Xdebug 3 on Ubuntu I see following error message in console after each script execution from command line:
Xdebug: [Config] The setting 'xdebug.collect_params' has been removed, see the upgrading guide at https://xdebug.org/docs/upgrade_guide#changed-xdebug.collect_params (See: https://xdebug.org/docs/errors#CFG-C-REMOVED)
I haven't this setting anywhere in php.ini or xdebug.ini files
PHP verison:
PHP 8.0.0 (cli) (built: Nov 27 2020 12:26:05) ( NTS ) Copyright (c) The PHP Group Zend Engine v4.0.0-dev, Copyright (c) Zend Technologies with Zend OPcache v8.0.0, Copyright (c), by Zend Technologies with Xdebug v3.0.1, Copyright (c) 2002-2020, by Derick Rethans
Issue also can be reproduced on php 7.4 and on by other devs
>php --ini
– RiggsFolly/etc/php/*/*.ini
) 2) Check your ENV as well (as some Xdebug setting may be passed this way as well) -- could be your bash/whatever profile as well. 3) Do you use any IDE/Editor? Maybe it is the one that adds them when you clicking "Debug". – LazyOnegrep
through ALL files on your system looking for that offendingcollect_params
entry as well asxdebug.
(with dot at the end -- to see all places) – LazyOne