From 391a744385414253f1e301024f1a72f712922888 Mon Sep 17 00:00:00 2001 From: Ste Vaidis Date: Thu, 16 Nov 2023 11:25:33 +0200 Subject: [PATCH] Add vim/xdebug.md --- vim/xdebug.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 vim/xdebug.md diff --git a/vim/xdebug.md b/vim/xdebug.md new file mode 100644 index 0000000..1af8221 --- /dev/null +++ b/vim/xdebug.md @@ -0,0 +1,27 @@ +# XDebug + +### Install + +```sh +dnf install php82-php-pecl-xdebug3 +``` + +### Config + +`/etc/php.d/90-xdebug.ini` + +```ini +[XDebug] +zend_extension=/opt/remi/php82/root/usr/lib64/php/modules/xdebug.so +xdebug.remote_enable=1 +xdebug.remote_autostart=1 +xdebug.mode=develop,gcstats,coverage,profile,debug +xdebug.client_host=localhost +xdebug.client_port=9003 +xdebug.idekey="NVIM" +xdebug.log=/tmp/xdebug.log +xdebug.start_with_request=yes +;xdebug.start_with_request=trigger +``` + +