php - How to display XDebug errors only to my IP address? -
i'm in non-ideal situation have debug website live website running php5.4 on lamp stack.
after enabling xdebug in php.ini , setting display_errors
true, nicely formatter html output bugs.
however, i'd person able see these bugs.
i understand there sort of extension ides allow that, i'm bit confused whole thing.
i looked xdebug.remote_host
couldn't work.
is there way make errors show requests coming ip address?
thanks!
the main thing want has nothing xdebug... turn display_errors
off. sounds counter-intuitive display_errors
configure whether or not errors should sent stdout or stderr php.
if turn off display_errors
, can configure php log them instead. then, ssh box , tail log file while track down problem.
Comments
Post a Comment