Xdebug D8 via vagrant

×

错误信息

Deprecated function: The each() function is deprecated. This message will be suppressed on further calls 在 _menu_load_objects() (行 569/homepages/46/d762693627/htdocs/dc/includes/menu.inc).
Xdebug D8 via vagrant

edit the conf

 

sudo vim /etc/php.d/xdebug.ini

 

Conf file

; Enable xdebug extension module

zend_extension=/usr/lib64/php/modules/xdebug.so

xdebug.remote_enable = 1

xdebug.remote_connect_back=1

xdebug.remote_log=/var/log/xdebug.log

 

// Enable to connect back to Xdebug on ip the http request came from. Won't work if coming

// via Ngnix and Varnish:

xdebug.remote_connect_back=0

 

// IP address to connect back to. Should be the IP address of the Vagrant host:

xdebug.remote_host = 192.168.33.1

 

// Enable this if you don't want to have to tell Xdebug to start via GET/POST/COOKIE:

xdebug.remote_autostart=1

 

// Enable this if you want the debugger to start when a certain key is passed with the request:

// xdebug.idekey=PHPSTORM

 

//xdebug.remote_mode=jit

 

xdebug.remote_port=9000

xdebug.remote_handler=dbgp

blog tag: