

For example alias sail=./vendor/bin/sail. vendor/bin/sail by some alias in the ~/.bashrc. And finally you can start the debugging by the graphical interface like on it is shown in the doc and with the browser extension as it is described here Īlso you can short the. You can add the public/i.php with you can do this and this approach has some benefits. You can see the full list of additional subcommands by check [ "$1" = in the source Xdebug is just another PHP module/extension so it must be used in (be part of) the same container where PHP is.

These are docker compose subcommands and several additional. vendor/bin/sail with subcommands: stop, restart, build, shell, root-shell, down, and more.
