phpdebugbar icon indicating copy to clipboard operation
phpdebugbar copied to clipboard

Ajax requests are not considered

Open fduarte42 opened this issue 2 years ago • 4 comments

When using ajax requests these requests are not integrated into debugbar, because they are not considered.

This Pullrequest fixes this ( PR 40 ).

Do you have a timeframe when this will be merged and released?

fduarte42 avatar Aug 14 '23 09:08 fduarte42

Its rendered in my application, the bars are stacked one on top of the other so you end up with one for the original request, then it stacks one for each ajax request or at least that is the behavior I was getting.

tyrsson avatar Aug 15 '23 04:08 tyrsson

Yes, correct. But this is faulty and this PR fixes that. As the debugbar module can handle ajax requests, but this bridge does not use that funcionality. The PR adds that needed parameters.

fduarte42 avatar Aug 16 '23 08:08 fduarte42

[offtopic] I thought it was ironic we used the same exact variable name: isAjax. [/offtopic]

tyrsson avatar Aug 18 '23 02:08 tyrsson

The PR is not from me, but yes I did notice that. ;-)

fduarte42 avatar Aug 18 '23 10:08 fduarte42