Update vim/vim.md

This commit is contained in:
Ste Vaidis 2023-11-16 13:57:38 +02:00
parent 02c38cfa1e
commit c3b8a7d22c

View File

@ -57,9 +57,15 @@ wget https://git.vaidis.eu/stevaidis/dev/raw/branch/main/vim/polish.lua
nvim nvim
``` ```
## Debuging ## XDebug
(https://xdebug.org) ### Install
```sh
dnf install php82-php-pecl-xdebug3
```
### Configure
`/etc/php.ini` `/etc/php.ini`
@ -76,7 +82,7 @@ xdebug.log=/tmp/xdebug.log
xdebug.start_with_request=trigger xdebug.start_with_request=trigger
``` ```
Debug adapter installation ### Adapter
```sh ```sh
cd ~ 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;` to trigger debugger send the cookie `XDEBUG_SESSION=XDEBUG_ECLIPSE; Path=/; Expires=Sat, 27 Jul 2024 08:17:10 GMT;`
## LSP server ## LSP server
(https://intelephense.com) (https://intelephense.com)