This seems to be a PhpStorm EAP trait -same thing happened to me with 2020.3.
This is the php.ini config that worked for 2020...
[Xdebug]
zend_extension = /usr/lib64/php/modules/xdebug-3.0.2.so
xdebug.remote_enable = on
xdebug.remote_autostart = 0
xdebug.remote_connect_back = 0
xdebug.remote_host = 127.0.0.1
xdebug.remote_port = 9001
xdebug.remote_handler = dbgp
xdebug.remote_mode = req
xdebug.remote_log = /var/log/xdebug.log
xdebug.show_local_vars = 9
xdebug.profiler_enable = 1
xdebug.profiler_output_dir = /var/log
output_buffering = off
...and this is what I am trying to use with 2021:
xdebug.remote_log = /var/log/xdebug.log
xdebug.show_local_vars = 9
xdebug.profiler_enable = 1
xdebug.profiler_output_dir = /var/log
output_buffering = off
xdebug.mode = debug
xdebug.start_with_request=yes
xdebug.discover_client_host = true
xdebug.client_host = 127.0.0.1
xdebug.client_port = 9001
xdebug.start_with_request=yes
PhpStorm's ports are set as 9001 and 9003. I'm up the walls again. Any ideas, please and thank you?