Configure Xdebug with PhpStorm & Chrome in Ubuntu & Run Laravel, Magento 2 & Wordpress

Опубликовано: 28 Сентябрь 2024
на канале: Equaltrue
1,961
16

Configure xDebug with phpStrome.

This will cover the following things,

Configure xDebug with PHPStrome

Configure Xdebug with PHP ini file :
---------------------------------------------------------
Open php.ini file and paste following code in top:

[xdebug]
zend_extension="/usr/lib/php/20180731/xdebug.so"
xdebug.remote_enable = 1
xdebug.remote_connect_back = 1
xdebug.remote_port = 9000
xdebug.scream = 0
xdebug.cli_color = 1
xdebug.show_local_vars = 1

And then restart the Apache

----------------------------------
For VPS server you can choose:
You can choose UpCloud Server: https://upcloud.com/signup/?promo=5K2663
(If you signup with this you will get $25 extra when first payment paid)
or for cheap VPS you can choose: https://vpsdime.com/aff.php?aff=1135
-------------------------------