Snippets

Tjerk Ameel Hypernode xDebug configs

Created by Tjerk Ameel last modified
# Debuging CLI syntax (remote_host = host machine ip)
XDEBUG_CONFIG="remote_enable=1 remote_host=172.28.128.1 idekey=PHPSTORM" n98-magerun sys:cron:run
xdebug.show_error_trace = 1
xdebug.remote_enable = 1

# Debug from multiple machines
xdebug.remote_connect_back = 1
xdebug.remote_addr_header = HTTP_X_REAL_IP

# Debug from 1 specific machine
# (You need to disable xdebug.remote_connect_back for this to work.)
#xdebug.remote_host = 172.28.128.1

xdebug.remote_port = 9000
xdebug.scream = 0
xdebug.show_local_vars = 1
xdebug.idekey = PHPSTORM

Comments (0)

HTTPS SSH

You can clone a snippet to your computer for local editing. Learn more.