I've been looking up how I can debug PHP code in Chrome or Firefox but I can;t really find a solution. This is my PHP: <. How to 'console log' PHP code in Chrome or Firefox? Ask Question. I've tried Firefox Quantum that should be able to debug php? Anyways, how can I console log this? php google-chrome firefox. share improve this question. I probably should have mentioned that I'm a PHP novice. I'm using Chrome to edit a PHP file for a Wordpress site, and want to be able to print messages to some kind of console during this process, to ensure my code is doing what it should. Chrome DevTools is a set of web developer tools built directly into the Google Chrome browser. DevTools can help you edit pages on-the-fly and diagnose problems quickly, which ultimately helps you build better websites, faster.
当我们的PHP程序Debug. 现在已经有一些这样的工具了，比如说 PHP-Console 或者Chrome Logger ，前者针对PHP，后者支持多种服务端语言，使用方式都是先安装一个Chrome扩展，然后提供服务端的. A good example of data output to the console via