

I mean must have - php_flag xdebug.remote_enable on htaccess main directory for your domain where you need debug must add option with enable remote mode.

Xdebug.remote_log=»/var/log/xdebug/xdebug.log» You need configuration xdebug server in files for ubuntu by path /etc/php/7.2/mods-available/xdebug.ini You should remember only one line - We are disable remote mode for any domains - xdebug.remote_enable = 0 and comment xdebug.remote_connect_back = 1 or mast have 0 $ apt-get install blah-blah or yum and etc (I mean xdebug)
