Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save carltondickson/0bff7a425c4b1d0fa6d64c1abf04c91a to your computer and use it in GitHub Desktop.
Save carltondickson/0bff7a425c4b1d0fa6d64c1abf04c91a to your computer and use it in GitHub Desktop.
xdebug CLI shortcut
# /usr/bin/xdebug
#!/bin/bash
XDEBUG_CONFIG="idekey=xdebug" php -dxdebug.remote_host=`echo $SSH_CLIENT | cut -d "=" -f 2 | awk '{print $1}'` "$@"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment