Make sure you are setting the correct Xdebug cookie for your browser based testing.
The easiest way to do this is to use an Xdebug helper plugin for your browser.
Full documentation here: http://xdebug.org/docs/remote
Domanda
I'm using vim and Vdebug (which uses Xdebug) to debug PHP code.
I'm trying to accomplish the following:
The above only works if i call the PHP function using another PHP function. The breakpoint is ignored when i call the PHP function using an ajax request.
Any and all help is most welcomed.
Soluzione
Make sure you are setting the correct Xdebug cookie for your browser based testing.
The easiest way to do this is to use an Xdebug helper plugin for your browser.
Full documentation here: http://xdebug.org/docs/remote