-
Notifications
You must be signed in to change notification settings - Fork 4
Xdebug FAQs
Anthony Bates edited this page Jul 27, 2017
·
4 revisions
- First check the
local.env
file and ensure it contains the following line under## Xdebug config
PHP_IDE_CONFIG=serverName={project-domain}
.
The {project-domain}
value is dynamic and takes the value of the project domain by default. If you require you can change the value of {project-domain}
to another. For example if your server name was mage.dev
your configuration value would look like PHP_IDE_CONFIG=serverName=mage.dev
.
Example Xdebug Configuration
## Xdebug config
XDEBUG_IDE_KEY=PHPSTORM
XDEBUG_CONFIG=remote_host=10.254.254.254
XDEBUG_ENABLE=true
PHP_IDE_CONFIG=serverName={project-domain}
- Ensure the Xdebug loop back is working by running the following command
workflow xdebug
More information can be found on the Xdebug Page