NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Debugging help on Mac with Parallels


Joined: 14 Apr 2007
Posts: 96
Reply with quote
Thank you in advance for any assistance.

I have PHPed running on Parallels in Mac OSX (10.7.3). Apache is running in OSX via MAMP. If I launch a browser in Parallels, I can debug pages with no problems (it works quite well, actually). However, if I try to debug a page in a browser running on OSX, it fails with this message:



---------------------------------------------------------------------------
DBG 4.2.11

Failed to start DBG session

Reason: failed to connect to the client at 127.0.0.1:7869, please make sure that IDE is running
Not sure what it means? Visit http://www.nusphere.com/dbg/ for troubleshooting.

Debugger request: "(null)"
Request found in: "(null)"
Target PHP version: "5.3.x"
Server API: "Apache 2.0 Handler"
Extensions API: "220090626"
Modules API: "20090626"
PHP API: "20090626"
---------------------------------------------------------------------------


I think that it is trying to connect to DBG on 127.0.0.1, which is the local ip address of OSX, so it can't see PHPed. Is it possible to change where it is looking? I am not sure where it is getting this ip address from. I tried to change my hosts file on Mac OSX, but then the site won't work. I also tried to change the DBG section in my php.ini file, but I think all that does is authorize what ips can access it.

Any suggestions?

Thanks!
View user's profileFind all posts by rodericksimpsonSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8334
Reply with quote
It is not a debugger failure.
You have to point it out to connect to RIGHT address, where DbgListener is listening for it.
For details see DBGSESSID syntax in FAQ

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Debugging help on Mac with Parallels
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic