Update vim/xdebug.md
This commit is contained in:
parent
d69b3542d7
commit
175b3bf6ac
@ -49,6 +49,23 @@ php -r 'xdebug_info();'
|
|||||||
|
|
||||||
## Adapter
|
## 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`
|
`.local/share/nvim/mason/packages/php-debug-adapter/extension/package.json`
|
||||||
|
|
||||||
```json
|
```json
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user