I would like to setup debugging but I am not sure how to go about doing it. The documentation indicates that PHPStorm supports both Zend and XDebug. Which is easier to set up? It seems that Zend costs money after a trial period. At this point I would very much appreciate a step-by-step tutorial on setting up and initiating a debug session.
In my particular case I install PHP with XAMPP and this also installs Apache and MySql. I also install Moodle as an XAMPP application. I am developing a PHP plugin for Moodle and it is here that I want to set breakpoints and debug. I can start the PHP Moodle application by pointing my browser at http://localhost/Mooodle but I am not sure how to set a breakpoint since the project that I have in PHPStorm is just the plugin. Do I need to somehow debug all of Moodle in order to set a breakpoint in this plugin?