Skip to content

Instantly share code, notes, and snippets.

@benfavre
Last active October 7, 2016 15:56
Show Gist options
  • Save benfavre/809536cde2c0b6d9baefcbc2e86a307b to your computer and use it in GitHub Desktop.
Save benfavre/809536cde2c0b6d9baefcbc2e86a307b to your computer and use it in GitHub Desktop.
Example XdebugConfig Linux /etc/php/7.0/mods-available/xdebug.ini
[XDebug]
zend_extension=xdebug.so
xdebug.default_enable = 0
xdebug.cli_color = 1
xdebug.overload_var_dump = 1
xdebug.var_display_max_children = -1
xdebug.var_display_max_data = 4096
xdebug.var_display_max_depth = 10
xdebug.max_nesting_level = 250
xdebug.remote_enable=1
;xdebug.remote_connect_back=1 // Enable this instead of the 2 lines below if you want to accept any debug source IP
xdebug.remote_port=PUBLIC_PORT_TO_YOUR_MACHINE (9000)
xdebug.remote_host=PUBLICIP_TO_YOUR_MACHINE (xxx.xxx.xxx.xxx)
xdebug.remote_handler="dbgp"
xdebug.idekey="PHPSTORM"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment