Enabling XDebug in AMPPS 2.2
Once you have installed AMPPS 2.2 on MacOSx and navigate to PHP section in the AMPPS UI.
Click on “Php Extension” button and you will see a list of extensions but XDebug, In order to get Xdebug to appear in that list you will have to goto /Applications/AMPPS/php-5.<version using>/lib/extensions/
and copy the xdebug.so file in /Applications/AMPPS/php-5.<version using>/lib/extensions/ directory to /Applications/AMPPS/php-5.<version using>/lib/extensions/ext directory.
Then the xdebug extension will show up in the extensions list.
in brief
cd /Applications/AMPPS/php-5.<version using>/lib/extensions/
cp xdebug.so ext/