Skip to content

Wordpress Plugin: Log PHP errors and debug info to the Chrome javascript console

Notifications You must be signed in to change notification settings

StickyBeat/SBWPChromeConsoleLog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

SBWPChromeConsoleLog

This Wordpress plugin redirects PHP output errors to Chrome's javascript console instead of the normal "inlined" messages. Developed for Chrome but kind of works in other browsers supporting the console.log javascript method

It also includes a function named consoleLog() you can use to output debug text to the console.

Examples

consoleLog('Debug text');
consoleLog('Lots of text',$text); // this displays the text in a collapsed group for your convenience
consoleLog('My array',$array); // you can also output arrays or objects

About

Wordpress Plugin: Log PHP errors and debug info to the Chrome javascript console

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages