mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-08-28 11:05:31 +08:00
43 lines
1.6 KiB
JSON
43 lines
1.6 KiB
JSON
// 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": "VSCode - Run Extension",
|
|
"type": "extensionHost",
|
|
"request": "launch",
|
|
"args": ["--disable-extensions", "--extensionDevelopmentPath=${workspaceFolder}/packages/kilo-vscode"],
|
|
"outFiles": ["${workspaceFolder}/packages/kilo-vscode/dist/**/*.js"],
|
|
"preLaunchTask": "VSCode - Compile"
|
|
},
|
|
{
|
|
"name": "VSCode - Run Extension (Local Backend)",
|
|
"type": "extensionHost",
|
|
"request": "launch",
|
|
"args": ["--disable-extensions", "--extensionDevelopmentPath=${workspaceFolder}/packages/kilo-vscode"],
|
|
"outFiles": ["${workspaceFolder}/packages/kilo-vscode/dist/**/*.js"],
|
|
"preLaunchTask": "VSCode - Compile",
|
|
"env": {
|
|
"KILO_API_URL": "http://localhost:3000"
|
|
}
|
|
},
|
|
{
|
|
"name": "VSCode - Run Extension (Isolated)",
|
|
"type": "node-terminal",
|
|
"request": "launch",
|
|
"command": "bun script/launch.ts --isolated --workspace \"${workspaceFolder}\"",
|
|
"cwd": "${workspaceFolder}/packages/kilo-vscode"
|
|
},
|
|
{
|
|
"name": "VSCode - Run Extension (Isolated Clean)",
|
|
"type": "node-terminal",
|
|
"request": "launch",
|
|
"command": "bun script/launch.ts --isolated --clean --workspace \"${workspaceFolder}\"",
|
|
"cwd": "${workspaceFolder}/packages/kilo-vscode"
|
|
}
|
|
]
|
|
}
|