-
-
Save Nav-Appaiya/92576c1a85bff626db1f2ee16ed6fed5 to your computer and use it in GitHub Desktop.
xdebug
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install php-xdebug | |
zend_extension="/usr/lib/php/20151012/xdebug.so" | |
php.ini: | |
zend_extension="/opt/lampp/lib/php/extensions/xdebug.so" | |
xdebug.remote_enable=1 | |
xdebug.remote_host=127.0.0.1 | |
xdebug.remote_port=9000 | |
xdebug.idekey=PHPSTORM | |
download from xdebug.org | |
extract to some folder | |
run phpize in that folder | |
./configure --enable-xdebug --with-php-config=/opt/lampp/bin/php-config | |
make | |
sudo cp modules/xdebug.so /opt/lampp/lib/php/extensions | |
File->Settings->Languages&Frameworks->PHP | |
select proper php language level | |
add new cli interpreter as /opt/lampp/bin/php | |
Set the url with ?XDEBUG_SESSION_START=PHPSTORM and set a header Cookie: XDEBUG_SESSION_START=PHPSTORM |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment