Hello,
In the past, I have had great experiences with getting Xdebug to
cooperate flawlessly with Eclipse PDT (I've switched to Aptana Studio
3). I'll elaborate a bit more on my setup:
OS: Linux (OpenSUSE 12.2 Text Install)
PHPv: PHP 5.3.15
Running in VM (VirtualBox), Host Windows 7.
The IDE is running on the Host.
Firewall (on host): Comodo Firewall, VirtualBox network is whitelisted
Firewall (on guest): Disabled
Ran the following test for connectivity (inside the guest, I can contact
the host via 192.168.56.1 (which also acts as a gateway)):
linux-i23u:/mnt/Workspace/openZ-stable # telnet 192.168.56.1 9000
Trying 192.168.56.1...
Connected to 192.168.56.1.
Escape character is '^]'.
Success!
Consequently I checked my firewall log (as the rule is set to log
events) and the event is logged as successful (it also show the
application that is processing the socket).
I checked XDEBUG_CONFIG environment variable:
linux-i23u:/mnt/Workspace/openZ-stable # echo $XDEBUG_CONFIG
idekey=ECLIPSE_DBGP_192.168.56.1
Here is a snapshot of my xdebug configuration settings:
zend_extension="/usr/lib64/php5/extensions/xdebug.so"
xdebug.default_enable=1
;xdebug.remote_autostart=1
xdebug.remote_log="/tmp/xdebug.log"
xdebug.collect_params=3
xdebug.collect_return=1
xdebug.remote_host="192.168.56.1"
xdebug.remote_port=9000
;xdebug.idekey="ECLIPSE_DBGP"
Everything seems to be order however from what I can deduced from
'strace', 'tcpdump', and firewall events. There seems to be NO
CONNECTION being made and I conclude that I must be missing something
for xdebug to function as expected?
P.S. More information:
xdebug support => enabled
xdebug.auto_trace => Off => Off
xdebug.cli_color => 0 => 0
xdebug.collect_assignments => Off => Off
xdebug.collect_includes => On => On
xdebug.collect_params => 3 => 3
xdebug.collect_return => On => On
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.idekey => no value => no value
xdebug.max_nesting_level => 100 => 100
xdebug.overload_var_dump => On => On
xdebug.profiler_aggregate => Off => Off
xdebug.profiler_append => Off => Off
xdebug.profiler_enable => Off => Off
xdebug.profiler_enable_trigger => Off => Off
xdebug.profiler_output_dir => /tmp => /tmp
xdebug.profiler_output_name => cachegrind.out.%p => cachegrind.out.%p
xdebug.remote_autostart => Off => Off
xdebug.remote_connect_back => Off => Off
xdebug.remote_cookie_expire_time => 3600 => 3600
xdebug.remote_enable => Off => Off
xdebug.remote_handler => dbgp => dbgp
xdebug.remote_host => 192.168.56.1 => 192.168.56.1
xdebug.remote_log => /tmp/xdebug.log => /tmp/xdebug.log
xdebug.remote_mode => req => req
xdebug.remote_port => 9000 => 9000
xdebug.scream => 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_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
XDEBUG_CONFIG => idekey=ECLIPSE_DBGP_192.168.56.1
_SERVER["XDEBUG_CONFIG"] => idekey=ECLIPSE_DBGP_192.168.56.1
Received on Sat Dec 01 2012 - 22:03:20 GMT
This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST