debugging - How can I write to console in PHP? -
is possible write string or log console?
what mean
just in jsp, if print system.out.println("some")
there @ console not @ page.
firefox
on firefox can use extension called firephp enables logging , dumping of information php applications console. addon awesome web development extension firebug.
chrome
however if using chrome there php debugging tool called webug or chrome logger.
more clockwork in active development extends developer tools adding new panel provide useful debugging , profiling information. provides out of box support laravel 4 , slim 2 , support can added via extensible api.
using xdebug
a better way debug php via xdebug. browsers provide helper extensions pass required cookie/query string initialize debugging process.
- chrome - xdebug helper
- firefox - the easiest xdebug
- opera - xdebug
- safari - xdebug toggler
Comments
Post a Comment