Add a function in the xdebug template to output the extensions directory automatically.