title: Xdebug: [Step Debug] Could not connect to debugging client. Tried: localhost:9003 (fallback through xdebug.client_host/xdebug.client_port) :-(
body: <p>What is the workaround of this message for xdebug ang php?</p>
  <pre><code>Xdebug: [Step Debug] Could not connect to debugging client. Tried: localhost:9003 (fallback through xdebug.client_host/xdebug.client_port) :-(
  </code></pre>
  <p>This message showup when I run <code>composer update</code> on <code>WSL2</code> installed with <code>UBUNTU 20.01</code>.</p>
  <p>My current php version is <code>php8</code> and <code>xdebug3</code></p>
  <p>Update:</p>
  <p>This is the x-debug section</p>
  <pre><code>xdebug
  
  __   __   _      _
  \ \ / /  | |    | |
   \ V / __| | ___| |__  _   _  __ _
    &gt; &lt; / _` |/ _ \ '_ \| | | |/ _` |
   / . \ (_| |  __/ |_) | |_| | (_| |
  /_/ \_\__,_|\___|_.__/ \__,_|\__, |
                                __/ |
                               |___/
  
  Version =&gt; 3.0.1
  Support Xdebug on Patreon, GitHub, or as a business: https://xdebug.org/support
  
  Feature =&gt; Enabled/Disabled
  Development Aids =&gt; ✘ disabled
  Coverage =&gt; ✘ disabled
  GC Stats =&gt; ✘ disabled
  Profiler =&gt; ✘ disabled
  Step Debugger =&gt; ✔ enabled
  Tracing =&gt; ✘ disabled
  
  Debugger =&gt; enabled
  IDE Key =&gt;
  
  Directive =&gt; Local Value =&gt; Master Value
  xdebug.auto_trace =&gt; This setting has been changed, see the upgrading guide at https://xdebug.org/docs/upgrade_guide#changed-&quot;xdebug.auto_trace&quot; =&gt; This setting has been changed, see the upgrading guide at https://xdebug.org/docs/upgrade_guide#changed-&quot;xdebug.auto_trace&quot;
  xdebug.cli_color =&gt; 0 =&gt; 0
  xdebug.client_discovery_header =&gt; no value =&gt; no value
  xdebug.client_host =&gt; localhost =&gt; localhost
  xdebug.client_port =&gt; 9003 =&gt; 9003
  xdebug.cloud_id =&gt; no value =&gt; no value
  xdebug.collect_assignments =&gt; Off =&gt; Off
  xdebug.collect_includes =&gt; This setting has been removed, see the upgrading guide at https://xdebug.org/docs/upgrade_guide#removed-&quot;xdebug.collect_includes&quot; =&gt; This setting has been removed, see the upgrading guide at https://xdebug.org/docs/upgrade_guide#removed-&quot;xdebug.collect_includes&quot;
  xdebug.collect_params =&gt; 0 =&gt; 0
  xdebug.collect_return =&gt; Off =&gt; Off
  xdebug.collect_vars =&gt; This setting has been removed, see the upgrading guide at https://xdebug.org/docs/upgrade_guide#removed-&quot;xdebug.collect_vars&quot; =&gt; This setting has been removed, see the upgrading guide at https://xdebug.org/docs/upgrade_guide#removed-&quot;xdebug.collect_vars&quot;
  xdebug.connect_timeout_ms =&gt; 200 =&gt; 200
  xdebug.coverage_enable =&gt; This setting has been changed, see the upgrading guide at https://xdebug.org/docs/upgrade_guide#changed-&quot;xdebug.coverage_enable&quot; =&gt; This setting has been changed, see the upgrading guide at https://xdebug.org/docs/upgrade_guide#changed-&quot;xdebug.coverage_enable&quot;
  xdebug.default_enable =&gt; This setting has been changed, see the upgrading guide at https://xdebug.org/docs/upgrade_guide#changed-&quot;xdebug.default_enable&quot; =&gt; This setting has been changed, see the upgrading guide at https://xdebug.org/docs/upgrade_guide#changed-&quot;xdebug.default_enable&quot;
  xdebug.discover_client_host =&gt; On =&gt; On
  xdebug.dump.COOKIE =&gt; no value =&gt; no value
  xdebug.dump.ENV =&gt; no value =&gt; no value
  xdebug.dump.FILES =&gt; no value =&gt; no value
  xdebug.dump.GET =&gt; no value =&gt; no value
  xdebug.dump.POST =&gt; no value =&gt; no value
  xdebug.dump.REQUEST =&gt; no value =&gt; no value
  xdebug.dump.SERVER =&gt; no value =&gt; no value
  xdebug.dump.SESSION =&gt; no value =&gt; no value
  xdebug.dump_globals =&gt; On =&gt; On
  xdebug.dump_once =&gt; On =&gt; On
  xdebug.dump_undefined =&gt; Off =&gt; Off
  xdebug.file_link_format =&gt; no value =&gt; no value
  xdebug.filename_format =&gt; no value =&gt; no value
  xdebug.force_display_errors =&gt; Off =&gt; Off
  xdebug.force_error_reporting =&gt; 0 =&gt; 0
  xdebug.gc_stats_enable =&gt; This setting has been changed, see the upgrading guide at https://xdebug.org/docs/upgrade_guide#changed-&quot;xdebug.gc_stats_enable&quot; =&gt; This setting has been changed, see the upgrading guide at https://xdebug.org/docs/upgrade_guide#changed-&quot;xdebug.gc_stats_enable&quot;
  xdebug.gc_stats_output_dir =&gt; This setting has been changed, see the upgrading guide at https://xdebug.org/docs/upgrade_guide#changed-&quot;xdebug.gc_stats_output_dir&quot; =&gt; This setting has been changed, see the upgrading guide at https://xdebug.org/docs/upgrade_guide#changed-&quot;xdebug.gc_stats_output_dir&quot;
  xdebug.gc_stats_output_name =&gt; gcstats.%p =&gt; gcstats.%p
  xdebug.halt_level =&gt; 0 =&gt; 0
  xdebug.idekey =&gt; no value =&gt; no value
  xdebug.log =&gt; no value =&gt; no value
  xdebug.log_level =&gt; 7 =&gt; 7
  xdebug.max_nesting_level =&gt; 256 =&gt; 256
  xdebug.max_stack_frames =&gt; -1 =&gt; -1
  xdebug.mode =&gt; debug =&gt; debug
  xdebug.output_dir =&gt; /mnt/c/www/traces =&gt; /mnt/c/www/traces
  xdebug.overload_var_dump =&gt; This setting has been removed, see the upgrading guide at https://xdebug.org/docs/upgrade_guide#removed-&quot;xdebug.overload_var_dump&quot; =&gt; This setting has been removed, see the upgrading guide at https://xdebug.org/docs/upgrade_guide#removed-&quot;xdebug.overload_var_dump&quot;
  xdebug.profiler_append =&gt; Off =&gt; Off
  xdebug.profiler_enable =&gt; This setting has been changed, see the upgrading guide at https://xdebug.org/docs/upgrade_guide#changed-&quot;xdebug.profiler_enable&quot; =&gt; This setting has been changed, see the upgrading guide at https://xdebug.org/docs/upgrade_guide#changed-&quot;xdebug.profiler_enable&quot;
  xdebug.profiler_enable_trigger =&gt; This setting has been changed, see the upgrading guide at https://xdebug.org/docs/upgrade_guide#changed-&quot;xdebug.profiler_enable_trigger&quot; =&gt; This setting has been changed, see the upgrading guide at https://xdebug.org/docs/upgrade_guide#changed-&quot;xdebug.profiler_enable_trigger&quot;
  xdebug.profiler_enable_trigger_value =&gt; This setting has been changed, see the upgrading guide at https://xdebug.org/docs/upgrade_guide#changed-&quot;xdebug.profiler_enable_trigger_value&quot; =&gt; This setting has been changed, see the upgrading guide at https://xdebug.org/docs/upgrade_guide#changed-&quot;xdebug.profiler_enable_trigger_value&quot;
  xdebug.profiler_output_dir =&gt; This setting has been changed, see the upgrading guide at https://xdebug.org/docs/upgrade_guide#changed-&quot;xdebug.profiler_output_dir&quot; =&gt; This setting has been changed, see the upgrading guide at https://xdebug.org/docs/upgrade_guide#changed-&quot;xdebug.profiler_output_dir&quot;
  xdebug.profiler_output_name =&gt; cachegrind.out.%p =&gt; cachegrind.out.%p
  xdebug.remote_autostart =&gt; This setting has been changed, see the upgrading guide at https://xdebug.org/docs/upgrade_guide#changed-&quot;xdebug.remote_autostart&quot; =&gt; This setting has been changed, see the upgrading guide at https://xdebug.org/docs/upgrade_guide#changed-&quot;xdebug.remote_autostart&quot;
  xdebug.remote_connect_back =&gt; This setting has been changed, see the upgrading guide at https://xdebug.org/docs/upgrade_guide#changed-&quot;xdebug.remote_connect_back&quot; =&gt; This setting has been changed, see the upgrading guide at https://xdebug.org/docs/upgrade_guide#changed-&quot;xdebug.remote_connect_back&quot;
  xdebug.remote_enable =&gt; This setting has been changed, see the upgrading guide at https://xdebug.org/docs/upgrade_guide#changed-&quot;xdebug.remote_enable&quot; =&gt; This setting has been changed, see the upgrading guide at https://xdebug.org/docs/upgrade_guide#changed-&quot;xdebug.remote_enable&quot;
  xdebug.remote_host =&gt; This setting has been changed, see the upgrading guide at https://xdebug.org/docs/upgrade_guide#changed-&quot;xdebug.remote_host&quot; =&gt; This setting has been changed, see the upgrading guide at https://xdebug.org/docs/upgrade_guide#changed-&quot;xdebug.remote_host&quot;
  xdebug.remote_log =&gt; This setting has been changed, see the upgrading guide at https://xdebug.org/docs/upgrade_guide#changed-&quot;xdebug.remote_log&quot; =&gt; This setting has been changed, see the upgrading guide at https://xdebug.org/docs/upgrade_guide#changed-&quot;xdebug.remote_log&quot;
  xdebug.remote_log_level =&gt; This setting has been changed, see the upgrading guide at https://xdebug.org/docs/upgrade_guide#changed-&quot;xdebug.remote_log_level&quot; =&gt; This setting has been changed, see the upgrading guide at https://xdebug.org/docs/upgrade_guide#changed-&quot;xdebug.remote_log_level&quot;
  xdebug.remote_mode =&gt; This setting has been changed, see the upgrading guide at https://xdebug.org/docs/upgrade_guide#changed-&quot;xdebug.remote_mode&quot; =&gt; This setting has been changed, see the upgrading guide at https://xdebug.org/docs/upgrade_guide#changed-&quot;xdebug.remote_mode&quot;
  xdebug.remote_port =&gt; This setting has been changed, see the upgrading guide at https://xdebug.org/docs/upgrade_guide#changed-&quot;xdebug.remote_port&quot; =&gt; This setting has been changed, see the upgrading guide at https://xdebug.org/docs/upgrade_guide#changed-&quot;xdebug.remote_port&quot;
  xdebug.remote_timeout =&gt; This setting has been changed, see the upgrading guide at https://xdebug.org/docs/upgrade_guide#changed-&quot;xdebug.remote_timeout&quot; =&gt; This setting has been changed, see the upgrading guide at https://xdebug.org/docs/upgrade_guide#changed-&quot;xdebug.remote_timeout&quot;
  xdebug.scream =&gt; Off =&gt; Off
  xdebug.show_error_trace =&gt; Off =&gt; Off
  xdebug.show_exception_trace =&gt; Off =&gt; Off
  xdebug.show_local_vars =&gt; Off =&gt; Off
  xdebug.show_mem_delta =&gt; This setting has been removed, see the upgrading guide at https://xdebug.org/docs/upgrade_guide#removed-&quot;xdebug.show_mem_delta&quot; =&gt; This setting has been removed, see the upgrading guide at https://xdebug.org/docs/upgrade_guide#removed-&quot;xdebug.show_mem_delta&quot;
  xdebug.start_upon_error =&gt; default =&gt; default
  xdebug.start_with_request =&gt; 1 =&gt; 1
  xdebug.trace_enable_trigger =&gt; This setting has been changed, see the upgrading guide at https://xdebug.org/docs/upgrade_guide#changed-&quot;xdebug.trace_enable_trigger&quot; =&gt; This setting has been changed, see the upgrading guide at https://xdebug.org/docs/upgrade_guide#changed-&quot;xdebug.trace_enable_trigger&quot;
  xdebug.trace_enable_trigger_value =&gt; This setting has been changed, see the upgrading guide at https://xdebug.org/docs/upgrade_guide#changed-&quot;xdebug.trace_enable_trigger_value&quot; =&gt; This setting has been changed, see the upgrading guide at https://xdebug.org/docs/upgrade_guide#changed-&quot;xdebug.trace_enable_trigger_value&quot;
  xdebug.trace_format =&gt; 0 =&gt; 0
  xdebug.trace_options =&gt; 0 =&gt; 0
  xdebug.trace_output_dir =&gt; This setting has been changed, see the upgrading guide at https://xdebug.org/docs/upgrade_guide#changed-&quot;xdebug.trace_output_dir&quot; =&gt; This setting has been changed, see the upgrading guide at https://xdebug.org/docs/upgrade_guide#changed-&quot;xdebug.trace_output_dir&quot;
  xdebug.trace_output_name =&gt; trace.%c =&gt; trace.%c
  xdebug.trigger_value =&gt; no value =&gt; no value
  xdebug.var_display_max_children =&gt; 128 =&gt; 128
  xdebug.var_display_max_data =&gt; 512 =&gt; 512
  xdebug.var_display_max_depth =&gt; 3 =&gt; 3
  </code></pre>