[TriLUG] PHP and XDebug help?

Brian via TriLUG trilug at trilug.org
Fri Aug 2 18:09:09 EDT 2019


If this is PHP running as part of a web service and you have access to 
the server logs, the PHP function error_log() is also a useful way to 
emit informational messages (they wind up in the server error log along 
with whatever client info the server is configured to include).

n 8/2/19 5:41 PM, Brian McCullough via TriLUG wrote:
> On Fri, Aug 02, 2019 at 04:29:01PM -0400, Triangle Linux Users Group discussion list wrote:
>> I almost hate to admit it, but when it comes to PHP, I've typically
>> resorted to the "printf" debug method.
> 
> Thanks, Matt.   Yes, I tend to use fopen, fwrite, and var_export a lot.
> 
> 
> 
>> You're Google-Fu is probably at least as good as mine, but I did see
>> this one that looks interesting:??https://www.jetbrains.com/help/phpstor
>> m/debugging-with-phpstorm-ultimate-guide.html
> 
> 
> I will look at that.  I have been looking at the PHPStorm "how to
> configure XDebug" documents, but not completely clear on some of their
> terminology.
> 
> 
> 
> Brian
> 
> 



More information about the TriLUG mailing list