我正在尝试检索 Vagrantfile 中指定的主机 IP 地址:
config.vm.network :hostonly, "33.33.33.33"
在配方文件中:
mycookbook/files/default/xdebug.ini
[xdebug]
zend_extension = "/usr/lib/php/modules/xdebug.so"
xdebug.remote_enable = 1
xdebug.remote_handler = "dbgp"
xdebug.remote_host = "***HERE***"
xdebug.trace_output_dir = "/tmp"
xdebug.max_nesting_level = 200