| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- // A launch configuration that compiles the extension and then opens it inside a new window
- // Use IntelliSense to learn about possible attributes.
- // Hover to view descriptions of existing attributes.
- // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
- {
- "version": "0.2.0",
- "configurations": [
- {
- "name": "Run Extension",
- "type": "extensionHost",
- "request": "launch",
- "runtimeExecutable": "${execPath}",
- "args": ["--extensionDevelopmentPath=${workspaceFolder}/src"],
- "sourceMaps": true,
- "outFiles": ["${workspaceFolder}/dist/**/*.js"],
- "preLaunchTask": "${defaultBuildTask}",
- "env": {
- "NODE_ENV": "development",
- "VSCODE_DEBUG_MODE": "true",
- "KILOCODE_DEV_AGENT_RUNTIME_PATH": "${workspaceFolder}/dist/agent-runtime-process.js"
- },
- "resolveSourceMapLocations": ["${workspaceFolder}/**", "!**/node_modules/**"],
- "presentation": {
- "hidden": false,
- "group": "tasks",
- "order": 1
- }
- },
- {
- "name": "Run Extension [Isolated]",
- "type": "extensionHost",
- "request": "launch",
- "runtimeExecutable": "${execPath}",
- "args": [
- "--extensionDevelopmentPath=${workspaceFolder}/src",
- "--disable-extensions",
- "${input:extensionLaunchDir}"
- ],
- "sourceMaps": true,
- "outFiles": ["${workspaceFolder}/dist/**/*.js"],
- "preLaunchTask": "${defaultBuildTask}",
- "env": {
- "NODE_ENV": "development",
- "VSCODE_DEBUG_MODE": "true",
- "KILOCODE_DEV_AGENT_RUNTIME_PATH": "${workspaceFolder}/dist/agent-runtime-process.js"
- },
- "resolveSourceMapLocations": ["${workspaceFolder}/**", "!**/node_modules/**"],
- "presentation": { "hidden": false, "group": "tasks", "order": 1 }
- },
- {
- "name": "Run Extension [Local Backend]",
- "type": "extensionHost",
- "request": "launch",
- "runtimeExecutable": "${execPath}",
- "args": ["--extensionDevelopmentPath=${workspaceFolder}/src", "--disable-extensions"],
- "sourceMaps": true,
- "outFiles": ["${workspaceFolder}/dist/**/*.js"],
- "preLaunchTask": "${defaultBuildTask}",
- "env": {
- "NODE_ENV": "development",
- "VSCODE_DEBUG_MODE": "true",
- "KILOCODE_BACKEND_BASE_URL": "${input:kilocodeBackendBaseUrl}",
- "KILOCODE_DEV_AGENT_RUNTIME_PATH": "${workspaceFolder}/dist/agent-runtime-process.js"
- },
- "resolveSourceMapLocations": ["${workspaceFolder}/**", "!**/node_modules/**"],
- "presentation": { "hidden": false, "group": "tasks", "order": 2 }
- }
- ],
- "inputs": [
- {
- "id": "extensionLaunchDir",
- "description": "Directory the dev extension will open in",
- "default": "${workspaceFolder}/launch",
- "type": "promptString"
- },
- {
- "id": "kilocodeBackendBaseUrl",
- "description": "Override the kilocode backend base URL",
- "default": "http://localhost:3000",
- "type": "promptString"
- }
- ]
- }
|