Deprecated xdebug.remote_* arguments passed on a debugging session start
Problem
Starting a debug session in PhpStorm results in warnings from Xdebug indicating that deprecated xdebug.remote_* configuration options are used:
Xdebug: [Config] The setting 'xdebug.remote_enable' has been renamed, see the upgrading guide at https://xdebug.org/docs/upgrade_guide#changed-xdebug.remote_enable
Xdebug: [Config] The setting 'xdebug.remote_host' has been renamed, see the upgrading guide at https://xdebug.org/docs/upgrade_guide#changed-xdebug.remote_host
Xdebug: [Config] The setting 'xdebug.remote_mode' has been renamed, see the upgrading guide at https://xdebug.org/docs/upgrade_guide#changed-xdebug.remote_mode
Xdebug: [Config] The setting 'xdebug.remote_port' has been renamed, see the upgrading guide at https://xdebug.org/docs/upgrade_guide#changed-xdebug.remote_portDespite the correct (renamed) settings being present under the [xdebug] section of the corresponding .ini file.
Cause
Stale or obsolete argument mappings may persist in the PHP Interpreter configuration, causing the old xdebug.remote_* arguments to be added automatically to every debug session.
Resolution
- Go to Settings | PHP | CLI Interpreter.
- Re-initialize the interpreter settings by pressing the OK button.
- If this doesn't help, re-add the PHP interpreter in the same menu.
Please sign in to leave a comment.