diff --git a/vim/vim.md b/vim/vim.md index e0b25b4..44ef3be 100644 --- a/vim/vim.md +++ b/vim/vim.md @@ -57,9 +57,15 @@ wget https://git.vaidis.eu/stevaidis/dev/raw/branch/main/vim/polish.lua nvim ``` -## Debuging +## XDebug -(https://xdebug.org) +### Install + +```sh +dnf install php82-php-pecl-xdebug3 +``` + +### Configure `/etc/php.ini` @@ -76,7 +82,7 @@ xdebug.log=/tmp/xdebug.log xdebug.start_with_request=trigger ``` -Debug adapter installation +### Adapter ```sh cd ~ @@ -96,6 +102,9 @@ Debug chrome plugin to trigger debugger send the cookie `XDEBUG_SESSION=XDEBUG_ECLIPSE; Path=/; Expires=Sat, 27 Jul 2024 08:17:10 GMT;` + + + ## LSP server (https://intelephense.com)