laravel-debugbar: Unable to view AJAX requests results
Hi,
I’m unable to get AJAX queries to properly report on 1.8.3.
I have the following settings of interest in my config.php
'include_vendors' => false,
'capture_ajax' => true,
Some information that is probably of interest to debugging this issue:
- Provided
jquery
is1.11.0
- The request returns a
phpdebugbar-id
in the response header - A breakpoint in the
bindToXHR
method of the extendedAjaxHandler.prototype
will only trigger on setup.XMLHttpRequest.prototype.open
never appears to be called when$.ajax
is called (by a third-party library). - Browser is
chrome 39.0.2171.95 (64-bit)
The application using laravel-debugbar
also makes use of angular, for which we use the ng-phpdebugbar module in order to track $http requests. This works properly. I’ve also verified that it doesn’t interfere with php-debugbar
by disabling it completely.
Let me know if any other information might be useful to debug this.
Thanks!
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Comments: 25 (14 by maintainers)
Thanks for the help!
After further investigation, it seems the issue was related to PACE. It breaks the
XMLHttpRequest.prototype
.XMLHttpRequest.prototype
with php-debugbarXMLHttpRequest.prototype
with php-debugbar AND paceI’ll follow up with the PACE developer.
Thanks again