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 = 192.168.56.101 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 […]

https://delboy1978uk.wordpress.com/2015/06/10/xdebug-from-the-cli-to-phpstorm/