I'm trying to get xdebug remote debugging to work. It does not seem to connect with the server. So, a few basic questions on phpstorm and xdebug:
Server has xdebug installed, the xdebug info shows up in phpinfo() and phpstorm confirms it is installed.
In php.ini i have
phpstorm runs on my macbook that is connected via VPN to an address in the same network as the server. Firewall rules should not matter, but I've opened 9000 anyway.
When I debug it says "Executing the script on server..." for like 10 seconds and then the Validate xdebug dialog pops up and it has two things on its mind:
First, it says that xdebig is installed. Just an information notice.
Second it says "Cannot establish debug connection", and it asks me to check remote debug host and that port 9000 is open. I've verified this, these settings are correct.
The clients says: Waiting for connection on port 7,815. Is this the source port or what? The port number seems to change every time I do a new debug. Shouldn't it say 9000?
If I ignore the warning i fires up firefox with the debug URL, but it does not show anything, it seems to be trying to establish connection, forever. The client says "Waiting for connection port 9000 with ide key Phpstorm1"
So... any help is useful. Thanks.