Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to console with google chrome

Tags:

php

I want to console with Google chrome when I test my website. If I found some error, I want to see it in Developer > Developer Tools > Console using link. Now, my Google Chrome doesn't shown error link. eg. when I query from database, and I show this query using jQuery but it has some error. But console can't output this error link and can't give me something.php code.

like image 338
jane Avatar asked Dec 29 '22 11:12

jane


2 Answers

If you want to debug PHP errors/exceptions in Google Chrome console, try to use PHP Console extension. It's awesome!

like image 67
barbushin Avatar answered Jan 08 '23 08:01

barbushin


Chrome's Developer Tools only for client side problems only. If you'd like to debug PHP in your browser you could use FirePHP, the Firebug extension.

like image 39
fabrik Avatar answered Jan 08 '23 08:01

fabrik