Closed Sarke closed 4 years ago
The Xdebug installed is the master branch (v3.0.0-dev) and not the latest stable (v2.9.6). Is this correct?
To replicate: docker run --rm --env PHP_ENABLE_XDEBUG=1 yiisoftware/yii2-php:7.4-apache php -r 'echo phpversion("xdebug");'
docker run --rm --env PHP_ENABLE_XDEBUG=1 yiisoftware/yii2-php:7.4-apache php -r 'echo phpversion("xdebug");'
I noticed it because I was no longer able to connect to the remote debugger anymore. Using the latest stable fixed the problem.
Also, why not install it using pecl? pecl install xdebug
pecl install xdebug
Pecl should be better option, I think.
and I can't change the xdebug version because the env variable is VERSION_XDEBUG, but below in dockerfile git checkout ${XDEBUG_VERSION}
VERSION_XDEBUG
git checkout ${XDEBUG_VERSION}
The Xdebug installed is the master branch (v3.0.0-dev) and not the latest stable (v2.9.6). Is this correct?
To replicate:
docker run --rm --env PHP_ENABLE_XDEBUG=1 yiisoftware/yii2-php:7.4-apache php -r 'echo phpversion("xdebug");'
I noticed it because I was no longer able to connect to the remote debugger anymore. Using the latest stable fixed the problem.
Also, why not install it using pecl?
pecl install xdebug