4

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.

Joshua Dance
  • 8,847
  • 4
  • 67
  • 72
jane
  • 43
  • 1
  • 1
  • 3
  • You might also find this useful: [How-to-terminate-script-execution-when-debugging-in-Google-Chrome](http://stackoverflow.com/questions/13134723/how-to-terminate-script-execution-when-debugging-in-google-chrome#answer-29392465) – cssyphus Apr 01 '15 at 16:56

2 Answers2

9

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

barbushin
  • 5,165
  • 5
  • 37
  • 43
1

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.

fabrik
  • 14,094
  • 8
  • 55
  • 71
  • Yeah, Thanks. I mean that How to get RID of XHR messages on console?? My chrome version is 5.0.396.0. – jane Jul 06 '10 at 07:03
  • I mean please look at here "http://chromium.googlecode.com/issues/attachment?aid=3129569015484012593&name=Screen+shot+2010-06-23+at+7.30.38+PM.png&token=5fb542838aa3447daaeab233686815e4&inline=1" I want to show this console link in my browser. Please help. – jane Jul 06 '10 at 07:17
  • Maybe you should look at it here: http://stackoverflow.com/questions/217957/how-to-print-debug-messages-in-the-google-chrome-javascript-console – fabrik Jul 06 '10 at 07:32