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
```
## 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)