In Visual Studio, I can start the debugger and am able to debug any page I want. Say I launch index.aspx, I can step through the code. Then I click on a button that navigates to page1.aspx, I can step through the code whenever a breakpoint is hit.
I am trying to find a similar tool for php. I tried using xDebug and Zend on Eclipse, but I could do is debug one file at a time. Even though I chose Debug As -> PHP Web Page, I can debug only the page I chose. Then if I navigate to other pages, the debugger won’t stop at my breakpoints.
Am I missing something here? Is there an IDE that supports this feature for php websites?
In Eclipse PDT you have to begin debugging on your index page, then don’t close your debugging session and replace the eclipse browser url with the url of the page you need to debug.
You can also access to the page you need to debug by clicking links from your first page.
It works for me with Zend debugger.