if xdebug is not available use dummy adapter while using factory