Skip to content

Instantly share code, notes, and snippets.

@modcab
Created June 16, 2017 12:56
Show Gist options
  • Save modcab/227fc7e78adf5e6a5486790eeed1e77b to your computer and use it in GitHub Desktop.
Save modcab/227fc7e78adf5e6a5486790eeed1e77b to your computer and use it in GitHub Desktop.
XDebug: how to debug remote console application? - From https://stackoverflow.com/a/17183664
export PHP_IDE_CONFIG="serverName={SERVER NAME IN PHP STORM}"
export XDEBUG_CONFIG="remote_host=$(echo $SSH_CLIENT | awk '{print $1}') idekey=PHPSTORM"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment