barbushin / php-console

Handle PHP errors, dump variables, execute PHP code remotely in Google Chrome
https://chrome.google.com/webstore/detail/php-console/nfhmhhlpfleoednkpnnnkolmclajemef
MIT License
1.34k stars 283 forks source link

No messages in DevTools console #130

Closed cronfy closed 7 years ago

cronfy commented 8 years ago

Problem started today. In Chrome Developer Tools console I do not see most of messages from PhpConsole when doing AJAX requests. Messages appear as notifications in right bottom corner of the browser window, but not in the console. Messages from not-AJAX requests are shown ok.

Sometimes they go to console though.. I can't see any pattern.

PHP-console and PHP-Console-Postpone headers present in the response.

I tried restarting browser and reinstalling the extension - does not help.

How do I investigate this problem?

barbushin commented 7 years ago

I can't reproduce it. Could you share some URL where I can test it?

cronfy commented 7 years ago

I happens in a huge project, I have no idea right now about how to simplify the test. I will think about sharing, but before I did it maybe it is posible to collect some debug data for you somehow?

barbushin commented 7 years ago

Please check if there are some JS errors in console https://github.com/barbushin/php-console/wiki/How-to-report-bug-or-feature#attach-google-chrome-extension-javascript-errors (see Attach Google Chrome extension JavaScript errors).

Also please check that AJAX request domain is same as page tab domain.

cronfy commented 7 years ago

Sorry, I do not think I will investigate it further, because I switched to XDebug + PHPStorm for PHP Debugging instead of PHP-Console.