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 "<node_internals>" directory and is specifically configured for debugging Node.js applications. This change improves the development experience by enabling easy debugging of Copilot locally.
This commit is contained in:
Simon Larsen 2024-06-11 15:11:00 +01:00
parent 08c6cf31a0
commit eae8b79b2e
No known key found for this signature in database
GPG Key ID: 96C5DCA24769DBCA

14
.vscode/launch.json vendored
View File

@ -19,6 +19,20 @@
}
],
"configurations": [
{
"name": "Debug: Copilot Locally",
"request": "launch",
"localRoot": "${workspaceFolder}/Copilot",
"runtimeArgs": [
"run-script",
"start"
],
"runtimeExecutable": "npm",
"skipFiles": [
"<node_internals>/**"
],
"type": "node"
},
{
"name": "Debug Infrastructure Agent",
"type": "go",