开发者

Using XDebug from terminal (got only SSH access)

开发者 https://www.devze.com 2023-01-20 22:36 出处:网络
When I develop with the server on my workstation I can use XDebug from my IDE and debug variables, etc.

When I develop with the server on my workstation I can use XDebug from my IDE and debug variables, etc.

Many times the server is on a remote machine where I have only SSH, so I only edit with vi. In that case is there a way to use XDebug? Is there a client I could use f开发者_如何学Pythonrom terminal?


You can use X forwarding with ssh, if allowed at the server end (see the ForwardX11Trusted directive for the server's ssh configuration file). On your client you would start ssh using the -X argument to allow X forwarding. This requires the client to support X (e.g. if your local machine is running Linux, OS X, etc...)

0

精彩评论

暂无评论...
验证码 换一张
取 消