Skip to content

Instantly share code, notes, and snippets.

@felipsmartins
Last active November 8, 2019 20:04
Show Gist options
  • Select an option

  • Save felipsmartins/a071714d813a1ab3c237e8fb4f5b60eb to your computer and use it in GitHub Desktop.

Select an option

Save felipsmartins/a071714d813a1ab3c237e8fb4f5b60eb to your computer and use it in GitHub Desktop.
xdebug
xdebug.max_nesting_level=512
zend_extension="/usr/lib/php5/20131226/xdebug.so"
xdebug.remote_enable=1
xdebug.profiler_enable_trigger=1
xdebug.remote_autostart = 1
;importante
xdebug.remote_connect_back=1
xdebug.remote_port=9000
xdebug.profiler_enable=1
xdebug.profiler_output_dir="/tmp"
xdebug.remote_log=/tmp/_xdebug.log
xdebug.extended_info = 1
#NOTA
# para real remote host é necessário:
# https://www.jetbrains.com/help/phpstorm/remote-debugging-via-ssh-tunnel.html
ssh -R 9000:localhost:9000 user@hostname
@felipsmartins

felipsmartins commented Oct 7, 2019

Copy link
Copy Markdown
Author

xdebug cookie:

Cookie: XDEBUG_SESSION=1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment