I'm having a really annoying problem. I use ZendStudio as a php IDE and I need to be able to debug an application which is deployed in a couple of servers:
- A fisical server
- A virtual server (vmware) hosted on my local machine
Both servers run CenOs, my local machine is running LinuxMint.
I configured the application so that when I save a file it is automatically uploaded to my virtual server.
The php configuration is the same in both servers, but, I can only debug using the fisical server.
I have tried several things including:
- Changing the IP of the remote host to match every posible ip address for the host machine (vmware gives me two new ip addresses matching the subnet of the vm)
- Activating xdebug.remote_connect_back
- Activating xdebug.remote_autostart
- Trying ZendDebugger
Nothing seemed to work.
I disabled ufw and eventually allowed port 9000.
Help please! :)
Edit:
I just created a new environment like this:
- Fisical machine Ubuntu 10.10
- VM LinuxMint 10 with apache+php+xdebug
From my fisical machine I created a new remote project pointing to the VM, created a test script, run the debugger and it worked! right out of the box... now, I'm not sure this is good or bad news, since I need to get this working with the CentOs... any ideas? Thanks!