Skip to content

Instantly share code, notes, and snippets.

@veewee
Last active December 18, 2016 13:43
Show Gist options
  • Save veewee/110eb867af36e9cc0112045d5f109611 to your computer and use it in GitHub Desktop.
Save veewee/110eb867af36e9cc0112045d5f109611 to your computer and use it in GitHub Desktop.
PHP Segfault aliases on mac
alias phpsegtrace='php -d xdebug.auto_trace=ON -d xdebug.trace_output_dir=/tmp/ -d xdebug.trace_output_name=phpsegtrace $@ || tail -n 50 /tmp/phpsegtrace.xt'
alias phpsegdbg='lldb php $@'
alias phpsegstrace='sudo dtruss php $@'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment