To the default php.ini include a complete [xdebug] section:
[xdebug]
zend_extension="c:/wamp/bin/php/php7.4.26/zend_ext/php_xdebug-3.1.1-7.4-vc15-x86_64.dll"
;xdebug.mode allowed are : off develop coverage debug gcstats profile trace
xdebug.mode = develop
xdebug.output_dir = "/tmp"
xdebug.profiler_output_name = trace.%H.%t.%p.cgrind
xdebug.use_compression = false
xdebug.show_local_vars = 0
xdebug.log = "/tmp/xdebug.log"
xdebug.log_level = 7
[xdebug]
zend_extension="c:/wamp/bin/php/php7.4.26/zend_ext/php_xdebug-3.1.1-7.4-vc15-x86_64.dll"
;xdebug.mode allowed are : off develop coverage debug gcstats profile trace
xdebug.mode = develop
xdebug.output_dir = "/tmp"
xdebug.profiler_output_name = trace.%H.%t.%p.cgrind
xdebug.use_compression = false
xdebug.show_local_vars = 0
xdebug.log = "/tmp/xdebug.log"
xdebug.log_level = 7