php 如何使用谷歌浏览器进行控制台
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/3183834/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
how to console with google chrome
提问by jane
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.
我想在测试我的网站时使用谷歌浏览器进行控制台。如果我发现了一些错误,我想在 Developer > Developer Tools > Console 中使用链接查看它。现在,我的谷歌浏览器没有显示错误链接。例如。当我从数据库查询时,我使用 jQuery 显示此查询,但它有一些错误。但是console不能输出这个错误链接,也不能给我something.php代码。
采纳答案by fabrik
回答by barbushin
If you want to debug PHP errors/exceptions in Google Chrome console, try to use PHP Consoleextension. It's awesome!
如果您想在 Google Chrome 控制台中调试 PHP 错误/异常,请尝试使用PHP 控制台扩展。这很棒!

