我正在尝试在以下场景中使用XDebug
我从Windows主机创建了一个Netbeans项目,指向\\ guestIP\mysite.在项目运行配置中,我有以下内容:
在高级运行配置中:
我在我的Ubuntu VM上的php.ini中有以下内容
xdebug.remote_enable = on
xdebug.profiler_enable = off
xdebug.profiler_enable_trigger = off
xdebug.profiler_output_name = cachegrind.out.%t.%p
xdebug.profiler_output_dir = /tmp
;xdebug.remote_host=localhost,<HostIP>, mysite.local.fr
xdebug.remote_connect_back=1
xdebug.remote_handler=dbgp
xdebug.idekey="netbeans-xdebug"
xdebug.remote_mode=req
Run Code Online (Sandbox Code Playgroud)
这些都不起作用,Netbeans不会在Windows的任何断点处停止.
使用Netbeans直接从我的VM调试工作正常.
有人能告诉我如何让我的调试器从Windows远程工作吗?谢谢