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_port

Despite 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

  1. Go to Settings | PHP | CLI Interpreter.
  2. Re-initialize the interpreter settings by pressing the OK button.
  3. If this doesn't help, re-add the PHP interpreter in the same menu.
0 out of 0 found this helpful

Please sign in to leave a comment.

Have more questions?

Submit a request