How to set up Xdebug with PhpStorm running a local server using MAMP Pro.
For this video we are going to learn how to set up Xdebug with PhpStorm running a local server on MAMP Pro. Xdebug runs via MAMP Pro, as a PHP extension, so the first we need to do is enable Xdebug in our MAMP Pro configuration.
To enable Xdebug in MAMP Pro, we need to access the PHP settings via the MAMP Pro app.
This enables Xdebug so it is running as a PHP extension. Now it will be available to call back to our IDE on port 9000 when it receives a HTTP request.
PhpStorm has a zero-configuration feature for Xdebug and with MAMP Pro it seems to work nicely out-of-the-box, so you should be able to accept its settings and then continue on with your setup.
Debugging with Xdebug is made up of the following videos: