518 B
518 B
Install PHP Modules
Xdebug comes pre-installed. To enable xdebug you need to add a couple environment variables:
ENABLE_XDEBUG=1This will add the xdebug.ini to your php extensionsXDEBUG_CONFIG=remote_host=you.local.ip.hereSets an xdebug remote host environment var. This is usually your actual local computers IP.PHP_IDE_CONFIG=serverName=NameUsedInPhpStormServerConfigThis is an example of how to use this in PhpStorm. You configure a server in php storm with a name, set that in this var.