PHP Logs in native console Firefox Developer -


i highly prefer firefox developer inspector firebug one.

but possible display php logs in native js console ?

thanks :)

i installed chrome logger ( github | website ) chrome php accomplish in chrome since firefox 50+ broke firephp. learned firefox's web console has been supporting chrome logger since v43 (https://developer.mozilla.org/en-us/docs/tools/web_console/console_messages#server).

so in short, yes, can log php variables firefox web console using chrome php. it's simple:

  1. download latest chrome php library: https://github.com/ccampbell/chromephp
  2. include in project (include 'chromephp.php';)
  3. log in php script (chromephp::log($_myarray);)
  4. open firefox web console , turn on server tab (https://developer.mozilla.org/en-us/docs/tools/web_console/console_messages#filtering_by_category)

hope helps. procrastinated upgrading firefox few years before discovering newer versions had support this.


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -