Download xdebug here: https://xdebug.org/download.php
Make sure that you choose your version of PHP
Settings for php.ini file:
[xdebug]
zend_extension="|| location of wamp ||/zend_ext/php_xdebug-2.7.2-7.3-vc15-x86_64.dll"
xdebug.remote_enable = 1
xdebug.remote_autostart = 1
xdebug.profiler_enable = off
xdebug.profiler_enable_trigger = Off
xdebug.profiler_output_name = cachegrind.out.%t.%p
xdebug.profiler_output_dir ="c:/wamp/tmp"
xdebug.show_local_vars=0
After you download xdebug .dll file enable it under the PHP extensions in WAMP if available and then check if some of these settings appeared in php.ini.
If you have any problems comment in the section below.
Cheers. :)