From 4da1752782cd1eaa9dca712600341435aa3655ba Mon Sep 17 00:00:00 2001 From: Ste Vaidis Date: Fri, 17 Nov 2023 11:44:10 +0200 Subject: [PATCH] Update vim/xdebug.md --- vim/xdebug.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/vim/xdebug.md b/vim/xdebug.md index 03eb9a2..01f58d3 100644 --- a/vim/xdebug.md +++ b/vim/xdebug.md @@ -46,6 +46,26 @@ Show current settings ```sh php -r 'xdebug_info();' ``` + +## Adapter + +`packages/php-debug-adapter/extension/package.json` + +```json +"port": { + "type": "number", + "description": "Port on which to listen for Xdebug", + "default": 9003 +}, +"php.debug.ideKey": { + "type": "string", + "default": "vsc", + "description": "A unique key that allows the proxy to match requests to your editor. Only used when proxy configuration includes replacement.", + "scope": "machine-overridable" +} +``` + + ## Trigger