How to Install Xdebug on Windows

Xdebug is the most popular debugging and profiler tool for PHP. There are complied Xdubug files are available on the internet that helps installation very easy for Windows as compared to other Operating Systems.

Steps to Install Xdebug:

  1. Go to Xdebug Download Page and download the appropriate binary for your Xampp installation.
  2. Move the downloaded DLL file into your XAMPP PHP extension directory. For my case, it’s at C:\xampp\php\ext  directory.
  3. Make sure that DLL file has “debug.dll” name.
  4. Open your php.ini file. For me it’s available at C:\xampp\php\php.ini.
  5. Paste the below code at the bottom of the file.
  6. Restart your Xampp and open the PHPInfo page.  On success, you will find the Xdebug section like below

Related posts:

Be First to Comment

    Leave a Reply

    Your email address will not be published. Required fields are marked *