Skip to content

Xdebug FAQs

Anthony Bates edited this page Jul 27, 2017 · 4 revisions

What if I'm not hitting any breakpoints?

  1. 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}
  1. Ensure the Xdebug loop back is working by running the following command workflow xdebug More information can be found on the Xdebug Page