Web and application development


For an extremely long time I had stuck to the idea of only having one return statement in a method/function. I've s… twitter.com/i/web/status/1…

Follow me

Tag Archives: xdebug

July 31, 2011

Command line debugging

7:10 pm
Filed under
, , ,

I've been working for a while on a command line PHP script that doesn't use the webserver. The main problem I experienced was the inability of Eclipse/PDT to successfully launch a command line debugging session. This was because the PHP config that was loaded didn't include most of the modules that I required (the first to error was MySQL). Well, I needed to get work done so I soldiered on with "classic" debugging, adding a debug mode that controlled several aspects of the execution of the ... read more