Tag Archives: phpstorm

XDebug from the CLI to PHPStorm

You know it makes sense! Check/set your cli xdebug settings: zend_extension=xdebug.so xdebug.remote_enable = 1 xdebug.remote_connect_back = 1 xdebug.remote_port = 9000 xdebug.remote_host = Now create a file in nano or vim. call it php-cli-debug (or whatever) : #!/bin/bash export XDEBUG_CONFIG=”idekey=PHPSTORM” && export PHP_IDE_CONFIG=”serverName=awesome.dev” && php “$@” Then chmod it so it can be executed: chmod […]