Skip to content

Instantly share code, notes, and snippets.

@olavocneto
Last active July 8, 2024 14:17
Show Gist options
  • Save olavocneto/1277b9f702fdb1b235eb254a29f52c1a to your computer and use it in GitHub Desktop.
Save olavocneto/1277b9f702fdb1b235eb254a29f52c1a to your computer and use it in GitHub Desktop.
; Xdebug 2
; Ubuntu
[xdebug]
zend_extension=/usr/local/lib/php/extensions/no-debug-non-zts-20190902/xdebug.so
xdebug.remote_enable=1
xdebug.remote_autostart=1
xdebug.remote_port=9000
xdebug.remote_connect_back=true
; Windows WSL
zend_extension=/usr/local/lib/php/extensions/no-debug-non-zts-20190902/xdebug.so
xdebug.remote_enable=1
xdebug.remote_autostart=1
;xdebug.remote_port=9000
;xdebug.remote_connect_back=true
;xdebug.remote_host=wsl2.host
xdebug.remote_connect_back=0
xdebug.remote_host=172.29.192.1
xdebug.remote_port=9000
xdebug.remote_log=/tmp/xdebug_log/xdebug.log
;xdebug.idekey=phpstorm
; Profiler
;xdebug.profiler_enable = 0
;xdebug.profiler_enable_trigger = 1
;xdebug.profiler_enable_trigger_value = ""
;xdebug.profiler_output_dir = "/tmp"
;xdebug.profiler_output_name = "cachegrind.out.%p"
; Query string params
?XDEBUG_SESSION_START=phpstorm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment