APACHE&PHP and PhpED on the same PC, but browser on anot |
Site Admin
|
if you run through web server (using your browser), it knows the IP address the request was sent from and debugger uses this IP to connect to the IDE.
With commandline, you have to tell the IP address to use explicitly. |
||||||||||||
_________________ The PHP IDE team |
|
Yes, and that's a problem. It seems that debugger tries to connect IDE using the requiest IP. But I have IDE right on the server(as it's a developer PC as well), so it should connect to localhost instead! My example: some service calls my script, but it works wrong, so I want to debug it. I can ask the service to send a test request to my script, while I'm looking into IDE right on my server.
Where to tell the IDE ip address manually? |
||||||||||||||||
Last edited by aklabs on Thu Sep 08, 2011 5:23 am; edited 2 times in total |
|
In case you call your script from a different client, just attach the DBGSESSID Param like that:
index.php?DBGSESSID=1@10.10.10.10:7869;d=1 where index.php is your script you'd like to debug, 1 is the ID for the debug session, 10.10.10.10 is your IDE's host and 7869 the debug listener's port |
||||||||||||
|
|
GET parameters is a problem, I'm unable to add them when sending a test request. Is there any way to tell dbg library to use 127.0.0.1 as IDE host EVERYTIME? |
||||||||||||||
|
|
Btw, I found a way to add GET parameters to my test request and it works well! Thanks. But I still be happy if someone give me better solution. Thanks again. |
||||||||||||||
|
Site Admin
|
a better solution? please read FAQ first - it explains all possible ways. Get is by far not the only way.
http://www.nusphere.com/kb/technicalfaq/ |
||||||||||||
_________________ The PHP IDE team |
APACHE&PHP and PhpED on the same PC, but browser on anot |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by