Tuesday, February 22

Using Xdebug in command line interface

If you need to debug a PHP script running from the command line, you have to export an environment variable called XDEBUG_CONFIG

For this configuration:

export XDEBUG_CONFIG="idekey=netbeans"

Then just run the script you want to debug

php ./myscript.php argument1 argument2

Remember to start the debuger so the IDE starts listening on the port

Friday, February 4

Google Chrome v9

Yesterday was released the latest version of this great browser, honestly it went beyond my expectations becoming my primary browser, replacing firefox.

Cromium is the name used for the staging releases of chrome, the 'stable' version of chromium matches the current Chrome.

For those using linux there is a repository on launchpad for chromium, stable release, with this you'll get the stable updates as soon as they are released.

$ sudo add-apt-repository ppa:chromium-daily/stable
$ sudo apt-get update
$sudo apt-get install chromium

Source Chrome Blog