|
44 | 44 | }, |
45 | 45 | "resolveSourceMapLocations": ["${workspaceFolder}/**", "!**/node_modules/**"], |
46 | 46 | "presentation": { "hidden": false, "group": "tasks", "order": 1 } |
| 47 | + }, |
| 48 | + { |
| 49 | + "name": "Run Extension [Local Backend]", |
| 50 | + "type": "extensionHost", |
| 51 | + "request": "launch", |
| 52 | + "runtimeExecutable": "${execPath}", |
| 53 | + "args": ["--extensionDevelopmentPath=${workspaceFolder}/src", "--disable-extensions"], |
| 54 | + "sourceMaps": true, |
| 55 | + "outFiles": ["${workspaceFolder}/dist/**/*.js"], |
| 56 | + "preLaunchTask": "${defaultBuildTask}", |
| 57 | + "env": { |
| 58 | + "NODE_ENV": "development", |
| 59 | + "VSCODE_DEBUG_MODE": "true", |
| 60 | + "KILOCODE_BACKEND_BASE_URL": "${input:kilocodeBackendBaseUrl}" |
| 61 | + }, |
| 62 | + "resolveSourceMapLocations": ["${workspaceFolder}/**", "!**/node_modules/**"], |
| 63 | + "presentation": { "hidden": false, "group": "tasks", "order": 2 } |
47 | 64 | } |
48 | 65 | ], |
49 | 66 | "inputs": [ |
|
52 | 69 | "description": "Directory the dev extension will open in", |
53 | 70 | "default": "${workspaceFolder}/launch", |
54 | 71 | "type": "promptString" |
| 72 | + }, |
| 73 | + { |
| 74 | + "id": "kilocodeBackendBaseUrl", |
| 75 | + "description": "Override the kilocode backend base URL", |
| 76 | + "default": "http://localhost:3000", |
| 77 | + "type": "promptString" |
55 | 78 | } |
56 | 79 | ] |
57 | 80 | } |
0 commit comments