Update vim/xdebug.md

This commit is contained in:
Ste Vaidis 2023-11-17 11:47:46 +02:00
parent d69b3542d7
commit 175b3bf6ac

View File

@ -49,6 +49,23 @@ php -r 'xdebug_info();'
## Adapter
```sh
cd ~
git clone https://github.com/xdebug/vscode-php-debug.git
cd vscode-php-debug
npm install && npm run build
```
Debug adapter nvim plugin
`:MasonInstall php-debug-adapter`
Debug chrome plugin
(https://chrome.google.com/webstore/detail/xdebug-helper/eadndfjplgieldjbigjakmdgkmoaaaoc)
to trigger debugger send the cookie `XDEBUG_SESSION=XDEBUG_ECLIPSE; Path=/; Expires=Sat, 27 Jul 2024 08:17:10 GMT;`
`.local/share/nvim/mason/packages/php-debug-adapter/extension/package.json`
```json