xdebug in phpstorm and docker
I managed to get xdebug in combination with docker and phpstorm. For http calls...
IE http://192.168.99.100:8081/?XDEBUG_SESSION_START=PHPSTORM
But when I try to run my phpunit tests, It does not connect with phpstorm I did the correct directory mapping right in phpstorm, and also ran the following on my docker-instance
export XDEBUG_CONFIG="idekey=PHPSTORM"
I also tried on my docker:
export PHP_IDE_CONFIG='serverName=web.docker'
and named the server config on phpstorm web.docker . still working over http but not CLI
So can I get phpstorm and xdebug working together for command line too?
here is my file: /etc/php5/cli/conf.d/20-xdebug.ini
zend_extension=xdebug.so
xdebug.remote_enable=1
xdebug.idekey=PHPSTORM
xdebug.remote_connect_back=1
xdebug.remote_host=172.17.42.1
dxdebug.remote_autostart=1
请先登录再写评论。