Hello, folk.
Really searched pretty much but either I'm blind or this topic is not covered enough.
My purpose is to setup remote debugging through SSH tunnel. DBG module loaded well. SSH tunnel also works well (tested with netcat). But no listener on server side listens for localhost:7869 (not my desktop localhost but server's localhost).
So my questions are:
1) who starts this listener? Some event or manually/init-script?
2) where can I obtain one?
Even in
manual and in
FAQ DBG module mentioned but listener not.
And
this thread completely frustrated me. Listener should be on Desktop? So what the SSH tunnel for? Who can explain the workflow?
Appreciate much any help!
****
Server is based on Debian x64_86, no thread safe. PHP 5.3
DBG module ini-settings:
# cat /etc/php5/conf.d/dbg.ini
; configuration for DBG
extension=dbg-php-5.3.so
[debugger]
debugger.enabled=on
debugger.profiler_enabled=on
debugger.hosts_allow=localhost, ::1, 127.0.0.1
debugger.hosts_deny=ALL
debugger.ports=7869, 10000/16
debugger.JIT_host = clienthost
debugger.JIT_port = 7869
|
Loaded DBG module running settings:
# php -i | grep -v 'with DBG' | grep -v 'conf.d/dbg.ini' | grep -i -A 27 dbg
dbg
Version => 4.5.1
Linked => as a shared library.
Dbg SSL => not available
Dbg ip security => enabled.
Profiler => enabled
Target PHP version => 5.3.x
Server API => Command Line Interface
Extensions API => 220090626
Modules API => 20090626
PHP API => 20090626
Directive => Local Value => Master Value
debugger.enable_session_cookie => On => On
debugger.enabled => On => On
debugger.fail_silently => Off => Off
debugger.hosts_allow => <i>protected value</i> => <i>protected value</i>
debugger.hosts_deny => <i>protected value</i> => <i>protected value</i>
debugger.ignore_nops => Off => Off
debugger.IPv6_enabled => On => On
debugger.JIT.enabled => Off => Off
debugger.JIT.host => clienthost => clienthost
debugger.JIT.ignore_exceptions => no value => no value
debugger.JIT.port => 7869 => 7869
debugger.JIT.trig_errors => no value => no value
debugger.JIT.trig_exceptions => Exception => Exception
debugger.net.chunksize => 48000 => 48000
debugger.net.maxpacketsize => 50000000 => 50000000
debugger.ports => <i>protected value</i> => <i>protected value</i>
debugger.profiler_enabled => On => On
debugger.session_nocache => On => On
debugger.timeout_seconds => 300 => 300
|