Donnerstag, 18. September 2014

Debug PHP-Cli with PHPStorm, Zend Debugger, Vagrant

Debug start

export PHP_IDE_CONFIG="serverName=vagrant"

export QUERY_STRING="start_debug=1&debug_port=10137&debug_host=10.0.2.2&debug_stop=1"

Debug stop

export QUERY_STRING="stop_debug=1&debug_port=10137&debug_host=10.0.2.2&debug_stop=1"
And don't forget to actually make a server config "vagrant" in PHPStorm