Xdebug with PhpStorm on Ubuntu

≡放荡痞女 提交于 2021-01-29 15:21:10

问题


I am wondering if anyone can shed any light on the appropriate measures to take to ensure that the following set up will allow Xdebug and PhpStorm to work.

We have a LAMP stack running fine, with PHP and Xdebug 3 running on an Azure VM.

We are on a shared office network with a public IP address but no access to the firewall for the incoming line, although it's very relaxed.

We are aiming to connect our machines (x3) to debug our remote web server (the LAMP stack on the Azure VM).

We can create the SSH tunnel no problem to the web server. But debugging just doesn't work. I.e. when we fire up a page, the debugger does nothing at all.

Is anyone else running this kind of set up and confirm whether we are missing a step to ensure a successful connection.

[xdebug]
zend_extension=xdebug
xdebug.mode=debug
xdebug.client_host=127.0.0.1
xdebug.client_port=9003
xdebug.default_enable = 1
xdebug.force_display_errors = 1
xdebug.scream = 1
xdebug.force_error_reporting = NONE
xdebug.idekey = diss
xdebug.remote_enable = 1
xdebug.remote_log=/tmp/xdebug.log
xdebug.log=/var/log/xdebug.log
xdebug.remote_connect_back=0
xdebug.discover_client_host=false

来源:https://stackoverflow.com/questions/65597112/xdebug-with-phpstorm-on-ubuntu

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!