Skip to content

Instantly share code, notes, and snippets.

@kubaceg
Created October 7, 2015 06:50
Show Gist options
  • Save kubaceg/5fe51a649adf496e3c2e to your computer and use it in GitHub Desktop.
Save kubaceg/5fe51a649adf496e3c2e to your computer and use it in GitHub Desktop.
Xdebug for cli scripts on remote
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