V
V
Vyacheslav Shevchenko2021-02-07 13:09:53
PHP
Vyacheslav Shevchenko, 2021-02-07 13:09:53

How to use xDebug on the server for several users at once?

Hello.
Previously, I debugged a php application by forwarding a port through an ssh tunnel. This method does NOT work when we have several programmers working with the same server, it's just that xdebug can only work with one port, the default is 9000.

For these purposes, it is recommended to use the DBGp proxy in this article .
- But if I forward a port to the ssh tunnel, then DBGp proxy cannot start working with this port. it is occupied by a tunnel - the sshd process. 601fbbcf1e695485526100.jpeg

- If I don't use tunnels, then DBGp proxy starts, but when I try to connect, I get an i/o timeout error. And this error is on the server, it looks like the server itself cannot connect to my computer.
601fbc0b7eb5d759830325.jpeg

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question