Skip to content

Instantly share code, notes, and snippets.

@sangar82
Last active December 24, 2015 09:09
Show Gist options
  • Save sangar82/6775001 to your computer and use it in GitHub Desktop.
Save sangar82/6775001 to your computer and use it in GitHub Desktop.
Laravel + Vagrant + Sublime Text 2 + XDEBUG
Info xdebug martomo plugin
https://github.com/martomo/SublimeTextXdebug/issues/39
php.ini.erb (vagrant)
<% if use_xdebug != "0" %>
[xdebug]
xdebug.remote_enable=1
xdebug.remote_port=9001
xdebug.remote_autostart=0
xdebug.remote_connect_back=1
xdebug.remote_log="/tmp/xdebug.log"
<% end %>
Sublime project
{
"folders":
[
{
"path": "/Users/sangar1982/Sites/Laravel4-Vagrant/www"
}
],
"settings": {
"xdebug": {
"port": 9001,
"url": "http://localhost:8888"
},
"path_mapping": {
"/var/www" : "/Users/sangar1982/Sites/Laravel4-Vagrant"
},
"debug": true
}
}
memcached issues
http://superuser.com/a/291258
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment