I have recently noticed that many PHP developers avoid using a proper debugger due to the hassle involved with its settings. In order to assist my PHP students I chose to create a short video clip that explains how to config PHPStorm, MAMP and Xdebug to work together inorder to assist us debugging the code we write.
The first step should be installing the latest versions of PHPStorm and MAMP. Xdebug is already installed as part of MAMP. We just need to enable it by uncomment a specific line in the php.ini and verify that it was successfully enabled by checking the output we get when calling the phpinfo() function.