In this tutorial i am going to teach you how to install Xdebug  in xmapp in windows, after googling i found very short method to install xdebug. Following the following code to install xdebug:

Step 1: Download Xdebug for PHP : http://xdebug.org/files/php_xdebug-2.4.0rc3-7.0-vc14.dll

Step 2: Copy file ‘php_xdebug-2.4.0rc3-7.0-vc14.dll’ to: C:\xampp\php\ext

Step 3: Open file in your editor: C:\xampp\php\php.ini

Step 4: Disbale output buffering: output_buffering = Off  (If enabled)

Step 5: Paste the following code at the end of PHP.ini file

Step 6: Stop xampp from xampp control panel and restart it.

For testing create a file in htdocs and to test paste the following code:

and in browser you run this file and then press CTRL+F  then type xdebug then you can easily check it that xdebug has installed successfully.