In order to debug Joomla it is necessary to configure the IDE. Follow the instructions for your operating system.
Debugging Setup for MAC
Debugging Setup for Windows