Skip to content

Latest commit

 

History

History
executable file
·
6 lines (5 loc) · 576 Bytes

xdebug.md

File metadata and controls

executable file
·
6 lines (5 loc) · 576 Bytes

Install PHP Modules

Xdebug comes pre-installed. To enable xdebug you need to add a couple environment variables:

  • ENABLE_XDEBUG=1 This will add the xdebug.ini to your php extensions
  • XDEBUG_CONFIG=remote_host=you.local.ip.here remote_port=port Sets an xdebug remote host environment var. This is usually your actual local computers IP. this is for debug on your local computer
  • PHP_IDE_CONFIG=serverName=NameUsedInPhpStormServerConfig This 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.