Go to PUPHPET and create your VM. Check Install Xdebug on step 4 (Languages > PHP).
First check that everything went right while provisioning your VM: Create a new file named info.php and put the following code in it:
#/usr/bin/php| function moveReadLogglyMailsToArchive() { | |
| // Get all inbox emails (the label is applied by a filter matching all incoming conversations) | |
| var label = GmailApp.getUserLabelByName("[Loggly Autoarchiver] Inbox"); | |
| if (label === null || label === undefined) { | |
| // abort | |
| return -1; | |
| } | |
| var threads = label.getThreads(); | |
Go to PUPHPET and create your VM. Check Install Xdebug on step 4 (Languages > PHP).
First check that everything went right while provisioning your VM: Create a new file named info.php and put the following code in it:
#/usr/bin/phpThis gist shows how to connect to your vagrant MySQL database from the host machine.
vagrant ssh/etc/mysql/my.cnf:
bind-address to 0.0.0.0 to allow all incoming connection attempts