![]() You can do this by executing: composer create-project laravel/laravel Laravel -prefer-dist Once it’s booted, vagrant ssh into it, and install a sample Laravel app. To prepare the environment, please install and boot Homestead. ![]() In this tutorial, we’ll set up Xdebug with PHPStorm for Vagrant hosted PHP apps. If you’re completely unfamiliar with it, you would do well to first install it following the procedures below, and then refer to the post linked above for a breakdown of everything Xdebug can do for you and your apps. For a detailed walkthrough, see Shameer’s post. Xdebug is a PHP extension which allows you to debug and profile your code, view detailed and readable stack traces when errors happen, and much more. ![]() But as the applications we’re developing reside inside a virtual machine, they’re a bit tricky to debug with Xdebug which is, by default, tuned for localhost. No matter the platform, you can easily have a development environment up and running in no time that’s not only stable, but also identical in every regard to the environment your colleagues, mentors or mentees use. By now, we’ve all learned to love Vagrant and the development flexibility it provides.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |