w php.ini (dla cli) wpisać:
xdebug.remote_enable=1
przed poleceniem app/console wpisać:
SERVER_PORT=9000 SERVER_NAME='PHPSTORM' php -dxdebug.remote_autostart=On app/console test
xdebug.remote_enable=1
SERVER_PORT=9000 SERVER_NAME='PHPSTORM' php -dxdebug.remote_autostart=On app/console test