Only add composer/xdebug when php is selected.

You are right, but i'm going to fix that in an other PR.