added debug option for phpunit