Varying Vagrant Vagrants logo Varying Vagrant Vagrants

VVV installs the XDebug extension, a useful tool for development, here’s what their website has to say about it’s features:

Xdebug is an extension for PHP to assist with debugging and development. It contains a single step debugger to use with IDEs; it upgrades PHP’s var_dump() function; it adds stack traces for Notices, Warnings, Errors and Exceptions; it features functionality for recording every function call and variable assignment to disk; it contains a profiler; and it provides code coverage functionality for use with PHPUnit.

Turning XDebug On and Off

XDebug is turned off by default, but you can turn it on by SSH’ing into VVV with vagrant ssh, and running the command xdebug_on. You can turn it off by running xdebug_off. Keep in mind that some commands such as composer will run much slower with XDebug turned on.

Once XDebug is turned on, it will remain on until the next time VVV is provisioned