In your SilverStripe project (the original module can be found here):
$ composer require pstaender/silverstripe-serveJust start now the server with:
$ vendor/bin/serveTo start the server with composer server, add to your composer.json:
{
"scripts": {
"server": [
"Composer\\Config::disableProcessTimeout",
"@php serve"
]
},
}You have to add those lines to your php.ini (check with phpinfo() the correct path of php.ini the built-in-server relies on):
xdebug.mode=debug
xdebug.start_with_request=yes
xdebug.discover_client_host=1