Remote PHP Debugging with Netbeans and XDebug (remote server) -


i've seen other topics on subject , incorporated recommendations, still doesn't work. i'm trying debug netbeans project using xdebug i've installed on remote server. have required settings configured still can't xdebug stop @ breakpoint (information phpinfo()):

xdebug.remote_enable    on xdebug.remote_handler   dbgp xdebug.remote_host  62.216.43.2 xdebug.remote_port  9000 xdebug.remote_connect_back on ports equal both on remote server , in netbeans - 9000. 

i've checked "break @ first line" flag , made sure xdebug.idekey netbeans-xdebug in phpinfo(). after run debugger opens following: after run debugger open url http://my.ip.address.here/inreado.com/?xdebug_session_start=netbeans-xdebug project set run http://my.ip.address.here/inreado.com.

i presume problem remote_host setting or project url: ip address inside local area network 192.168.0.188, , external ip 62.216.43.2. either of them remote_host value yields no result.
or maybe problem url it's not proper dns name.

thanks in advance!

remember need set path mapping in debugger tab inside netbeans options.

another little big problem having when trying connect netbeans remotely ssh tunnel. have creat port xdebug work on, 9000 usually.

if experience network problems moment, tunnel might "break" silently , netbeans stuck in holy "waiting connection..." state. in putty, can right click , restart session, won't work.

you need close putty window , re open session work again.

hope helps!


Comments