BACKGROUND
Using Xdebug with PHP and Komodo IDE, and Eclipse PDT.
Xdebug is installed on the server and working properly. This is confirmed because the Xdebug code commands work as expected when inserted into PHP files on the server.
PROBLEM
Connecting to the client workstation is not working, and it is difficult to determine why because it fails with multiple IDEs.
QUESTION
It would be nice to have a step-by-step checklist to troubleshoot the case where you know Xdebug is installed and working on the server, but the client does not connect.
Can anyone help add to this to make a comprehensive troubleshooting checklist?
Specifically, is there any bare-bones way to make sure the network traffic is reaching the client, and is correctly formatted in the way the IDE expects to see the data?
SSH into web host and try to reach the client:
- can host reach client at all? (ping -c 5 xxx.xxx.xxx.xxx )
- can host reach port 9000? (nmap -p 9000 xxx.xxx.xxx.xxx)
- if the above two succeed, what should the output be?
- if the above two fail, what is the next troubleshooting step?
Verify settings of software-based firewall on client
- Verify settings of iptables on linux host
- Verify hardware firewall b/t client and host
GOAL
The goal is to find some solution where the person on the client machine can at least confirm that something is reaching the client without having to determine whether the IDE is the problem, since IDE is another level of complexity that may be introducing problems.