The XDebug extension comes with the XAMPP bundle, by default. You just have to enable it from the loaded
.ini file. Note that there could be multiple
php.ini files present, and the file location can be different between different operating systems. So, let's try it...
php.inifile from your
phpinfo(), by pointing your browser to http://localhost/xampp/phpinfo.php.
You can see the loaded
php.ini file located at
php.inifile located at
D:\xampp\php\php.ini, and find the following line:
[XDebug] ;zend_extension = "D:\xampp\php\ext\php_xdebug.dll"