diff --git a/vim/xdebug.md b/vim/xdebug.md index 4c66fa1..5e47375 100644 --- a/vim/xdebug.md +++ b/vim/xdebug.md @@ -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