You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 14, 2021. It is now read-only.
darthsteven edited this page Apr 30, 2013
·
2 revisions
We install and configure the XDebug PHP extension by default.
Configuration
XDebug is configured with sensible defaults, but as these are simply PHP configuration variables they can easily be changed in the same way as any other PHP configuration
We configure XDebug to make connections to the host machine, on port 9000 over the dbgp protocol.
Our XDebug base configuration looks like this:
[XDebug]
; Enable remote debugging
xdebug.remote_enable=1
; Stop potential inifinte loops, while allowing enough depth for Drupal
xdebug.max_nesting_level=200
xdebug.remote_handler=dbgp
; Set the remote address to the default address of our host machine, magic.
xdebug.remote_host=10.0.2.2
xdebug.remote_port=9000