php - Sublime Text 3 xdebug Scotch Box (Vagrant) Windows 10 not working -
i'm trying debug october cms application sublime text 3 , scotch box vagrant.
my vagrant box (https://box.scotch.io/) installed php 7, (the php -i
config part xdebug listed below). sublime text 3 xdebug client running under windows 10.
on windows port 9001 enabled/open in windows 10 firewall.
here config files can think of check.
the php -i
command shows xdebug running on vagrant box:
php -i | grep xdebug /etc/php/7.0/cli/conf.d/20-xdebug.ini, xdebug xdebug support => enabled ide key => sublime.xdebug xdebug.auto_trace => off => off xdebug.cli_color => 0 => 0 xdebug.collect_assignments => off => off xdebug.collect_includes => on => on xdebug.collect_params => 0 => 0 xdebug.collect_return => off => off xdebug.collect_vars => off => off xdebug.coverage_enable => on => on xdebug.default_enable => on => on xdebug.dump.cookie => no value => no value xdebug.dump.env => no value => no value xdebug.dump.files => no value => no value xdebug.dump.get => no value => no value xdebug.dump.post => no value => no value xdebug.dump.request => no value => no value xdebug.dump.server => no value => no value xdebug.dump.session => no value => no value xdebug.dump_globals => on => on xdebug.dump_once => on => on xdebug.dump_undefined => off => off xdebug.extended_info => on => on xdebug.file_link_format => no value => no value xdebug.force_display_errors => off => off xdebug.force_error_reporting => 0 => 0 xdebug.halt_level => 0 => 0 xdebug.idekey => sublime.xdebug => sublime.xdebug xdebug.max_nesting_level => 256 => 256 xdebug.max_stack_frames => -1 => -1 xdebug.overload_var_dump => 2 => 2 xdebug.profiler_aggregate => off => off xdebug.profiler_append => off => off xdebug.profiler_enable => off => off xdebug.profiler_enable_trigger => off => off xdebug.profiler_enable_trigger_value => no value => no value xdebug.profiler_output_dir => /tmp => /tmp xdebug.profiler_output_name => cachegrind.out.%p => cachegrind.out.%p xdebug.remote_addr_header => no value => no value xdebug.remote_autostart => off => off xdebug.remote_connect_back => on => on xdebug.remote_cookie_expire_time => 3600 => 3600 xdebug.remote_enable => on => on xdebug.remote_handler => dbgp => dbgp xdebug.remote_host => 192.168.33.11 => 192.168.33.11 xdebug.remote_log => /var/log/xdebug/xdebug.log => /var/log/xdebug/xdebug.log xdebug.remote_mode => req => req xdebug.remote_port => 9001 => 9001 xdebug.scream => off => off xdebug.show_error_trace => off => off xdebug.show_exception_trace => off => off xdebug.show_local_vars => off => off xdebug.show_mem_delta => off => off xdebug.trace_enable_trigger => off => off xdebug.trace_enable_trigger_value => no value => no value xdebug.trace_format => 0 => 0 xdebug.trace_options => 0 => 0 xdebug.trace_output_dir => /tmp => /tmp xdebug.trace_output_name => trace.%c => trace.%c xdebug.var_display_max_children => 128 => 128 xdebug.var_display_max_data => 512 => 512 xdebug.var_display_max_depth => 3 => 3
the xdebug.ini file
zend_extension=xdebug.so ;zend_extension="/usr/lib/php/20160303/xdebug.so" xdebug.default_enable = on xdebug.idekey = "sublime.xdebug" xdebug.remote_enable = on xdebug.remote_autostart = 0 xdebug.remote_host = "192.168.33.11" xdebug.remote_port = 9001 ;xdebug.remote_handler=dbgp ;xdebug.remote_log="/var/log/xdebug/xdebug.log" xdebug.remote_connect_back = on
my sublime text project file (i've tries change slashes backslashes forward slashes, path mapping variables , on)
{ "folders": [ { "path": "kludi-czesci\\public\\plugins\\depcore" }, { "path": "kludi-czesci\\public\\themes\\kludi" } ], "settings": { "xdebug": { "path_mapping": { "/var/www/public" : "d:\\praca\\kludi\\czesci\\vagrant\\kludi-czesci\\public", }, "url": "192.168.33.11", "super_globals": true, "close_on_stop": true } } }
and xdebug client config (user part).
{ "max_depth": 3, "port" : 9001, "close_on_stop": true, "pretty_output": true, "launch_browser": true, "debug": true, }
for can tell xdebug acts connecting (the title bar flashes , sublime panel changing) not stop @ breakpoints nor show debug info.
i've tried change port on vagrant xdebug.ini , other variables, commenting , uncommenting parts of ini file, (restarting apache after every time) , restarting sublime nothing seems work.
normally not big deal i'm trying find goes on ajax part of october cms part (import) cannot. appreciated if missed important config useful can paste them (i guessed relevant files there).
Comments
Post a Comment