Comments (7)
What do you mean recognize and parse XMLHttpResponses
? AJAX requests are handled by php-console like any other requests, so debug data of this requests will be sent to php-console extension as well :)
from php-console.
AJAX requests are handled by php-console like any other requests, so debug data of this requests will be sent to php-console extension as well :)
Oh? It's not doing that for me. Take a look: here's a call to a PHP page done from an HTML page, through AJAX:
However, the console is empty. It didn't parse the request.
from php-console.
What is your OS? Is AJAX request domain is the same as tab URL domain?
from php-console.
To answer your questions: OSX, and Yes and No. In my dev environment, yes; in our QA/Prod, no.
However, I just remembered, these aren't ajax calls. I completely forgot the way this script works is the initial call is actually a dynamically added script call. Then a dynamically updated call thereafter. Soooo..there may not be a solution to this. My apologies. :)
from php-console.
Anyway, I think that this request is going to some another domain. php-console starts listening some domain headers only after this domain url is opened in tab, and when php-console detects php-console-server
cookie.
php-console do not listen headers of all domains to prevent CPU usage overhead.
So you can just try to open url of that request in separate tab, and then debug data of AJAX or any other type of request from this domain will start handling until next browser restart.
Please let me know if it helps. May be I'll find some better solution. Thank you.
from php-console.
Makes sense (ps; updated comment because it didn't like the < brackets around script. ha!). That's is how I've been debugging. Just a little more tedious, and was hoping of a better way to handle it.
No matter. Thanks, again! Love the extension. It works excellently!
from php-console.
Ok, so I added #54 issue to fix this case, you can subscribe/watch it to get notification when it will be closed. I'll implement it soon, when I'll have more free time. Thank you for this feedback! 👍
from php-console.
Related Issues (20)
- Not working on Localhost.
- Привет русскоговорящим. Есть предложение.
- live demo site is not work - ERR_NAME_NOT_RESOLVED HOT 1
- Recently running >100% cpu HOT 2
- Firefox support
- Chrome keeps refreshing the page when open an ipv6 address site HOT 8
- PC::debug() not working locally with latest Chrome HOT 2
- php7.4RC3 with enable opcache fpm crash HOT 2
- Option to disable output via server side config
- Third party integration: standalone php-console build doesn't work on Wordpress HOT 1
- php7.4 with enable opcache fpm crash
- Extension not working as expected
- output buffering never ends
- chrome is crashed when I click "jump to file" when php error
- Warning: Private methods cannot be final as they are never overridden by other classes on php8-beta4
- Chrome extension no longer available in the Chrome web store HOT 14
- request php8 support
- Chrome just told me this extension is malware HOT 7
- Error: Required parameter $args follows optional parameter $key
- https://chrome.google.com WP PHP Console
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from php-console.