See http://civicrm.stackexchange.com/questions/15896/how-can-i-use-xdebug-with-civicrm-unit-tests/15899