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"
}
]
}

View file

@ -4,7 +4,7 @@
"name": "copilot-bridge", "name": "copilot-bridge",
"displayName": "Copilot Bridge", "displayName": "Copilot Bridge",
"description": "Local OpenAI-compatible chat endpoint (inference) bridging to GitHub Copilot via the VS Code Language Model API.", "description": "Local OpenAI-compatible chat endpoint (inference) bridging to GitHub Copilot via the VS Code Language Model API.",
"version": "0.2.1", "version": "0.2.2",
"publisher": "thinkability", "publisher": "thinkability",
"repository": { "repository": {
"type": "git", "type": "git",

View file

@ -7,6 +7,8 @@
"rootDir": "src", "rootDir": "src",
"strict": true, "strict": true,
"sourceMap": true, "sourceMap": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"types": ["node", "vscode"] "types": ["node", "vscode"]
}, },
"include": ["src/**/*.ts"] "include": ["src/**/*.ts"]