Using XDebug from the terminal (SSH access only)

When I work with a server on my workstation, I can use XDebug from my IDEs and debugging variables, etc.

Many times the server is located on a remote machine, where I have only SSH, so I only edit with vi. In this case, is there a way to use XDebug? Is there a client that I could use from the terminal?

+3
source share
1 answer

You can use X forwarding with ssh if it is allowed on the server (see ForwardX11Trusted directive for the ssh server configuration file). On your client, you must run ssh with the -X argument to enable X forwarding. This requires X support from the client (for example, if Linux, OS X, etc. are running on your local computer)

0
source

Source: https://habr.com/ru/post/1770279/


All Articles