From 6b73a61927cc9486afd20d0b4115e1c6f320a3f6 Mon Sep 17 00:00:00 2001 From: Damjan Cvetko Date: Thu, 16 Mar 2023 13:00:25 +0100 Subject: [PATCH] Update launch.json --- .vscode/launch.json | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/.vscode/launch.json b/.vscode/launch.json index a31642bd..8b63fec0 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -31,7 +31,30 @@ "args": ["out/test", "--no-timeouts", "--colors"], "cwd": "${workspaceRoot}", "sourceMaps": true, + "env": { + "VSCODE_DEBUG_PORT": "4711" + }, "outFiles": ["${workspaceFolder}/out/**/*.js"] } + ], + "compounds": [ + { + "name": "PHP Debug", + "stopAll": true, + "configurations": ["Debug adapter", "Launch Extension"], + "presentation": { + "group": "0_php", + "order": 1 + } + }, + { + "name": "Unit tests", + "stopAll": true, + "configurations": ["Debug adapter", "Mocha"], + "presentation": { + "group": "0_php", + "order": 2 + } + } ] }