![]() If you are using VVV, you can enable xdebug by running vagrant ssh and then xdebug_on from the virtual machine's CLI.vagrant-hostsupdater : $ vagrant plugin install vagrant-hostsupdater to update your /etc/hosts file automatically each time you start/stop your vagrant box.vagrant up -provision | tee provision.log - Runs vagrant up, forces provisioning and logs all output to a file.vagrant push - yes, vagrant can be configured to deploy code!.vagrant provision -debug - use the debug flag to increase the verbosity of the output.vagrant global-status -prune - same as above, but prunes invalid entries.vagrant global-status - outputs status of all vagrant machines.vagrant status - outputs status of the vagrant machine.Allows us to save so that we can rollback at a later time Tips vagrant snapshot save - vm-name is often default. vagrant package - packages a running virtualbox env in a reusable box.vagrant box remove - deletes a box from the machine.vagrant box outdated - check for updates vagrant box update. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |