|Re: Remote Debugging [message #671790 is a reply to message #643791]
||Thu, 19 May 2011 02:02
| David Coll
Registered: May 2011
I don't know if this issue is closed or not. But here is my experience concerning Stephen query. DON'T use xdebug.remote_connect_back = 1 unless you know exactly how this works. It's not meant to be used in a home cheap switch box. |
DO use xdebug.remote_host and xdebug.remote_port correctly using your INTERNAL ip adress. Thus, you should have an intern ip for your server and your workstation. Specify your remote_host to be the workstation (IDE) lan ip.
remote_port should be the same as specified in Eclipse remote debugging port.
But then, and here's what got me here, having a remote file system (files not on same computer than IDE), breakpoints won't work correctly.
Break on first line is good.
If I do a (F5) "Step into" code, for aaaall my code, the IDE seems to be able to map where are the breakpoints. But, It won't find them "as one would usually expect it" if I do a simple "Resume" (F8). On a serious framework, the "Step into" solution is long and will crash Eclipse 9 times out of 10.
I was wondering if there was a better solution to "map" the files along with the moment they are used in the script.. ?
[Updated on: Thu, 19 May 2011 02:05]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.03636 seconds