Zend debug multiple pages

I have a pretty simple setup:

Apache server, PHP 5.3, Eclipse, PHP Zend Debug Module

When I click on debugging, it sees my breakpoints and everything works fine. But only for the first page. If I click on another page of the embedded browser, all breakpoints from now on will be ignored. I think this is because the first page URL looks like

http://localhost/schedule?start_debug=1&debug_host=127.0.0.1&send_sess_end=1&debug_session_id=1003&original_url=http%3A%2F%2Flocalhost%2Fschedule&debug_start_session=1&debug_no_cache=1303403971996&debug_port=10000 

While pages after this, these URL debugging options are not added. Is this a debugging restriction in eclipse, or is there a way to add these GET parameters to every link I click? Perhaps a browser extension?

Looking at the advanced debugging for my configuration, I see that I have checked the option "Debug all pages".

+6
source share
1 answer

I recently tried the Xdebug extension for the same purpose, and I really recommend it.

Xdebug does just that, and also sets a cookie that contains information about the debugging session, so you can browse the website and the debugger will stop at the breakpoint. Therefore, this is definitely not an eclipse problem.

You can check if the Zend debugging module does the same by calling the above URL in Firefox and checking if the cookie is set.

Cheers and Good Luck

+3
source

Source: https://habr.com/ru/post/886410/


All Articles