Please can anyone help if anyone has this similar scenario - because I am struggling to get it to work properly.
1. Three developers
2. Development server hosted on Azure (It's a Linux VM)
3. We can SSH tunnel in to the server - we are all using port 9001 to SSH tunnel. Source: 9001, Destination 127.0.0.1:9001 (REMOTE)
4. We can register our IDE with the dbgpProxy successfully.
5. When one of us loads a webpage, it debugs on my machine.
Basically, it isn't debugging on the machine of the developer who's initiated it.
Settings > PHP > Debug > XDebug > Debug Port – Set to 9001
Tools > Proxy > Config:
IDE Key - Set uniquely for each developer
IP - (External IP of the Dev Server)
Port - 9001
The dbgpProxy is started on the server: 10.0.0.6 is the local IP of the Azure server.
12:55:24.982 [info] [server] Started server server on 127.0.0.1:9000
12:55:24.982 [info] [server] Started client server on 10.0.0.6:9001
Register is successful (** is the office external IP, we all work in the same office)
12:55:33.842 [info] [server] Start new client connection from **:30400
12:55:33.842 [info] [proxyinit] [monk] Added connection for IDE Key 'monk': **:9001
12:55:33.842 [info] [server] Closing client connection from **:30400
In Chrome, the Debug Helper is set to use the same IDE as we have each individually set up in PhpStorm.
We can all connect at the same time - no problem there.
If my colleague loads a webpage on the server though, the debugger starts on my machine?
I know I will be missing something simple. Can anyone advise?
Thank you very much