I've installed Xdebug on my Vagrant server and the XdebugClient plugin for Sublime Text 3. When I start debugging, my page loads in the browser but nothing shows up in the context, watch or stack tabs. The xdebug.log file is also empty. The following are my settings:
php.ini
[CUSTOM]
error_reporting=1
display_errors=true
track_errors=1
[xdebug ]
zend_extension="/usr/lib/php5/20121212/xdebug.so"
xdebug.remote_connect_back=1
xdebug.default_enable=1
xdebug.remote_autostart=0
xdebug.idekey=sublime.xdebug
xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_host=10.0.2.15
xdebug.remote_port=9001
xdebug.remote_log="/var/log/xdebug/xdebug.log"
xdebug.profiler_enable=1
xdebug.profiler_output_dir="/tmp/profiler"
xdebug.remote_mode=req
xdebug.ini
zend_extension="/usr/lib/php5/20121212/xdebug.so"
xdebug.remote_enable=on
xdebug.remote_handler=dbgp
xdebug.remote_host=10.0.2.15
xdebug.remote_port=9001
xdebug.remote_log="/var/log/xdebug/xdebug.log"
.sublime_project
"settings": {
"xdebug": {
"url": "http://mysite.dev/",
"path_mapping": {"/vagrant/www/mysite/dist" : "/Users/iii/Documents/Dev/vagrant/www/mysite/dist"},
"super_globals": true,
"close_on_stop": true,
}
}
Xdebug.sublime-settings
{
"close_on_stop": true,
"pretty_output": true,
"launch_browser": true,
"debug": true,
"ide_key": "sublime.xdebug",
"port": 9001,
}
Can someone please tell me what is wrong here?