debugger is not running
| From: | tbaskan at superonline dot com | Date: | Thu, 09 Mar 2000 14:33:24 +0000 |
| Subject: | debugger is not running | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-11802@lists.php.net to get a copy of this message | ||
Hi,
I'm trying to set PHP debugger running, but failing.
I did everything what Appendix C in the manual says.
How to set up the debugger:
1.Set up a TCP port for the debugger in the configuration file
(debugger.port) and enable it (debugger.enabled).
my php.ini file contains the following:
debugger.port = 1400
debugger.enabled = True
2.Set up a TCP listener on that port somewhere (for example socket -l
-s 1400 on UNIX).
on another machine I used a program called "sock" (can
be downloaded from http://atrey.karlin.mff.cuni.cz/~mj/linux.html)
I know it works because, I ran "sock" because I've connected
that port with Netscape and it split all input to output.
3.In your code, run "debugger_on(host)", where host is the IP number or
name of the host running the TCP listener.
and yes, I added the following line to the top of my file
debugger_on("192.168.0.2")
(web server is running on 192.168.0.1)
After all these, there is no activity on the port 1400 of 192.168.0.2
machine.
Thanks