Add F5 debug config

This commit is contained in:
Lars Baunwall 2025-08-20 19:58:00 +02:00
parent 5127dc0b7f
commit c25bbcef37
No known key found for this signature in database
4 changed files with 61 additions and 1 deletions

37
.vscode/launch.json vendored Normal file
View file

@ -0,0 +1,37 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Run Extension (Copilot Bridge)",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}"
],
"outFiles": [
"${workspaceFolder}/out/**/*.js"
],
"preLaunchTask": "npm: compile",
"env": {
"BRIDGE_VERBOSE": "1"
}
},
{
"name": "Run Extension + Attach Debug Server",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}"
],
"outFiles": [
"${workspaceFolder}/out/**/*.js"
],
"preLaunchTask": "npm: watch",
"env": {
"BRIDGE_VERBOSE": "1"
}
}
]
}

21
.vscode/tasks.json vendored Normal file
View file

@ -0,0 +1,21 @@
{
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"script": "compile",
"group": "build",
"problemMatcher": ["$tsc"],
"label": "npm: compile"
},
{
"type": "npm",
"script": "watch",
"isBackground": true,
"problemMatcher": [
"$tsc-watch"
],
"label": "npm: watch"
}
]
}