Codelite - PHP - was running, now says XDebug did not connect in a timely manner

(I tried the debugger one last time before sending this, and the URL portion is now working. The run with command line is not. Not sure what I did that caused the URL part of it to work. I guess did eventually rerun the setup Wizard and failed to test the URL portion and only tested the command line. Maybe that helps someone else. The other versions command line worked for me. Would like to understand, but maybe the command line part is a bug in Codelite 18? If anyone else is using it, I’d appreciate if debugging PHP works for them)

I managed to find help in getting Codelite to run with setting the environment variable to LD_LIBRARY_PATH=/usr/lib64/
And did have the debugger working for several versions of OpenSUSE. But I came across a tutorial about setting up workspaces and projects which I did not understand, and thought I’d try to learn about them, what they mean. I tried some steps, now the debugger doesn’t work but says, XDebug did not connect in a timely manner.
One thing I was trying was: php -S localhost:80 -t .
I tried different ports. Not sure what that does or hoped to accomplish, but I don’t think that stays permanent. ?

I have several partitions, including 15.5, 15.4, and I do have another 15.6 partition. The debugger works in those partitions for the same folders as the one that doesn’t work. I use a symbolic link to the same virtual hosts file. In the duplicate working 15.6 partition, I don’t even have apache automatically started, and the “Run / Debug with PHP command line” works, so I don’t think it’s a question of apache configuration, nor the virtual hosts.

I do notice codelite console pane, it says, /bin/bash: -d: command not found
I don’t know what that’s about. The other partitions don’t display that.

I’ve uninstalled and re-installed codelite. But I think it leaves files in places.

I’ve created a new user but the debug doesn’t work in codelite for that either. That suggests to me it’s not my user environment.

So if I’m correct in it’s not apache, not my php code folders, and not my user environment, I’m out of ideas. Almost like the xdebug is not working. Any thoughts on how to determine the differences between the non-working partition and the working ones?

> rpm -q codelite
codelite-18.1.0+git38.gd174cb85-lp156.57.1.x86_64

from https://download.opensuse.org/repositories/home:mimosius:devel:tools/15.6/
But it was working. Other partitions have, I think, codelite-16.

> cat /etc/php8/conf.d/xdebug.ini
; comment out next line to disable xdebug extension in php
zend_extension = xdebug.so
xdebug.mode=debug

I added the last line in there attempting to get it to work. Other partitions don’t have it, but the codelite internal settings of environment variables:
CodeLiteDir=/usr/share/codelite
XDEBUG_MODE=debug

> php -i | grep xdebug
/etc/php8/conf.d/xdebug.ini
xdebug
Support Xdebug on Patreon, GitHub, or as a business: https://xdebug.org/support
             Enabled Features (through 'xdebug.mode' setting)             
'xdebug://gateway' pseudo-host support => yes
'xdebug://nameserver' pseudo-host support => yes
xdebug.auto_trace => (setting renamed in Xdebug 3) => (setting renamed in Xdebug 3)
xdebug.cli_color => 0 => 0
xdebug.client_discovery_header => HTTP_X_FORWARDED_FOR,REMOTE_ADDR => HTTP_X_FORWARDED_FOR,REMOTE_ADDR
xdebug.client_host => localhost => localhost
xdebug.client_port => 9003 => 9003
xdebug.cloud_id => no value => no value
xdebug.collect_assignments => Off => Off
xdebug.collect_includes => (setting removed in Xdebug 3) => (setting removed in Xdebug 3)
xdebug.collect_params => (setting removed in Xdebug 3) => (setting removed in Xdebug 3)
xdebug.collect_return => Off => Off
xdebug.collect_vars => (setting removed in Xdebug 3) => (setting removed in Xdebug 3)
xdebug.connect_timeout_ms => 200 => 200
xdebug.coverage_enable => (setting renamed in Xdebug 3) => (setting renamed in Xdebug 3)
xdebug.default_enable => (setting renamed in Xdebug 3) => (setting renamed in Xdebug 3)
xdebug.discover_client_host => Off => Off
xdebug.dump.COOKIE => no value => no value
xdebug.dump.ENV => no value => no value
xdebug.dump.FILES => no value => no value
xdebug.dump.GET => no value => no value
xdebug.dump.POST => no value => no value
xdebug.dump.REQUEST => no value => no value
xdebug.dump.SERVER => no value => no value
xdebug.dump.SESSION => no value => no value
xdebug.dump_globals => On => On
xdebug.dump_once => On => On
xdebug.dump_undefined => Off => Off
xdebug.file_link_format => no value => no value
xdebug.filename_format => no value => no value
xdebug.force_display_errors => Off => Off
xdebug.force_error_reporting => 0 => 0
xdebug.gc_stats_enable => (setting renamed in Xdebug 3) => (setting renamed in Xdebug 3)
xdebug.gc_stats_output_dir => (setting renamed in Xdebug 3) => (setting renamed in Xdebug 3)
xdebug.gc_stats_output_name => gcstats.%p => gcstats.%p
xdebug.halt_level => 0 => 0
xdebug.idekey => no value => no value
xdebug.log => no value => no value
xdebug.log_level => 7 => 7
xdebug.max_nesting_level => 256 => 256
xdebug.max_stack_frames => -1 => -1
xdebug.mode => debug => debug
xdebug.output_dir => /tmp => /tmp
xdebug.overload_var_dump => (setting removed in Xdebug 3) => (setting removed in Xdebug 3)
xdebug.profiler_append => Off => Off
xdebug.profiler_enable => (setting renamed in Xdebug 3) => (setting renamed in Xdebug 3)
xdebug.profiler_enable_trigger => (setting renamed in Xdebug 3) => (setting renamed in Xdebug 3)
xdebug.profiler_enable_trigger_value => (setting renamed in Xdebug 3) => (setting renamed in Xdebug 3)
xdebug.profiler_output_dir => (setting renamed in Xdebug 3) => (setting renamed in Xdebug 3)
xdebug.profiler_output_name => cachegrind.out.%p => cachegrind.out.%p
xdebug.remote_autostart => (setting renamed in Xdebug 3) => (setting renamed in Xdebug 3)
xdebug.remote_connect_back => (setting renamed in Xdebug 3) => (setting renamed in Xdebug 3)
xdebug.remote_enable => (setting renamed in Xdebug 3) => (setting renamed in Xdebug 3)
xdebug.remote_host => (setting renamed in Xdebug 3) => (setting renamed in Xdebug 3)
xdebug.remote_log => (setting renamed in Xdebug 3) => (setting renamed in Xdebug 3)
xdebug.remote_log_level => (setting renamed in Xdebug 3) => (setting renamed in Xdebug 3)
xdebug.remote_mode => (setting renamed in Xdebug 3) => (setting renamed in Xdebug 3)
xdebug.remote_port => (setting renamed in Xdebug 3) => (setting renamed in Xdebug 3)
xdebug.remote_timeout => (setting renamed in Xdebug 3) => (setting renamed in Xdebug 3)
xdebug.scream => Off => Off
xdebug.show_error_trace => Off => Off
xdebug.show_exception_trace => Off => Off
xdebug.show_local_vars => Off => Off
xdebug.show_mem_delta => (setting removed in Xdebug 3) => (setting removed in Xdebug 3)
xdebug.start_upon_error => default => default
xdebug.start_with_request => default => default
xdebug.trace_enable_trigger => (setting renamed in Xdebug 3) => (setting renamed in Xdebug 3)
xdebug.trace_enable_trigger_value => (setting renamed in Xdebug 3) => (setting renamed in Xdebug 3)
xdebug.trace_format => 0 => 0
xdebug.trace_options => 0 => 0
xdebug.trace_output_dir => (setting renamed in Xdebug 3) => (setting renamed in Xdebug 3)
xdebug.trace_output_name => trace.%c => trace.%c
xdebug.trigger_value => no value => no value
xdebug.use_compression => 1 => 1
xdebug.var_display_max_children => 128 => 128
xdebug.var_display_max_data => 512 => 512
xdebug.var_display_max_depth => 3 => 3