Perhaps this question has been asked before but I cannot find it anywhere. I am a newbie on Magento/Netbeans.
After setting up xdebug in Netbeans, I was able to start debugging by stopping at a line in index.php, say, for this line:
Mage::run($mageRunCode, $mageRunType);
Where I can check the values of $mageRunCode and $mageRunType.
However, after setting up a breakpoint in a .phtml file, the process runs through the breakpoint without stopping at it. For example, in the file \default\template\catalog\product\list.phtml, I set a breakpoint at (I want to step into getPriceHtml() function):
<?php echo $this->getPriceHtml($_product, true); ?>
I even set some breakpoints in the function
public function getPriceHtml($product, $displayMinimalPrice = false, $idSuffix = '')
in Abstract.php, but it did not stop either.
So, what do I need to do to have the debug process stop at any breakpoints in Netbeans with XDebug?