From eae8b79b2ee2d2fef38f20aeb1ad8ab8d067554a Mon Sep 17 00:00:00 2001 From: Simon Larsen Date: Tue, 11 Jun 2024 15:11:00 +0100 Subject: [PATCH] refactor: Add debug configuration for running Copilot locally A new debug configuration has been added to the launch.json file. This configuration allows for launching Copilot locally by running the "start" script using npm. It skips files in the "" directory and is specifically configured for debugging Node.js applications. This change improves the development experience by enabling easy debugging of Copilot locally. --- .vscode/launch.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.vscode/launch.json b/.vscode/launch.json index 599b932a3e..82b4f1e9f2 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -19,6 +19,20 @@ } ], "configurations": [ + { + "name": "Debug: Copilot Locally", + "request": "launch", + "localRoot": "${workspaceFolder}/Copilot", + "runtimeArgs": [ + "run-script", + "start" + ], + "runtimeExecutable": "npm", + "skipFiles": [ + "/**" + ], + "type": "node" + }, { "name": "Debug Infrastructure Agent", "type": "go",