我从我的localhost启用了调试 - RHEL。因此,我在localhost上安装的phpstorm工作正常,当我从apache服务器请求与同一个框中的URL时。
但是,我希望调试能够从另一台机器(不同的主机)运行。是否有我想要启用的设置。那。
我的ini文件:
zend_extension = ${extension_dir}/xdebug.so
xdebug.profiler_append = 0
xdebug.profiler_enable_trigger = 0
xdebug.profiler_aggregate = 0
xdebug.profiler_enable = 0
xdebug.profiler_output_dir = /tmp
xdebug.profiler_output_name = cachegrind.out.%p
xdebug.remote_enable=On
xdebug.remote_handler=dbgp
xdebug.remote_host =localhost
xdebug.remote_port = 9000
xdebug.remote_mode = "req"
xdebug.allowed_clients = ""
xdebug.remote_connect_back=1
xdebug.idekey="mykey"