* Get root of the cline storage directory from an env var. Set the cline directory env var when running the standalone app from the vscode launcher. Add missing vscode SDK stub. * Stop spamming the logs.
62 lines
1.9 KiB
JSON
62 lines
1.9 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": "Run Extension",
|
|
"type": "extensionHost",
|
|
"request": "launch",
|
|
"args": ["--extensionDevelopmentPath=${workspaceFolder}", "--disable-workspace-trust", "${workspaceFolder}"],
|
|
"outFiles": ["${workspaceFolder}/dist/**/*.js"],
|
|
"preLaunchTask": "${defaultBuildTask}",
|
|
"env": {
|
|
"IS_DEV": "true",
|
|
"DEV_WORKSPACE_FOLDER": "${workspaceFolder}"
|
|
}
|
|
},
|
|
{
|
|
"name": "Run Extension (Fresh Install Mode)",
|
|
"type": "extensionHost",
|
|
"request": "launch",
|
|
"runtimeExecutable": "${execPath}",
|
|
"args": [
|
|
"--profile-temp",
|
|
"--sync",
|
|
"off",
|
|
"--disable-extensions",
|
|
"--extensionDevelopmentPath=${workspaceFolder}",
|
|
"${workspaceFolder}"
|
|
],
|
|
"outFiles": ["${workspaceFolder}/dist/**/*.js"],
|
|
"preLaunchTask": "clean-sandbox",
|
|
"internalConsoleOptions": "openOnSessionStart",
|
|
"postDebugTask": "stop",
|
|
"env": {
|
|
"IS_DEV": "true",
|
|
"DEV_WORKSPACE_FOLDER": "${workspaceFolder}"
|
|
}
|
|
},
|
|
{
|
|
"type": "node",
|
|
"request": "launch",
|
|
"name": "Run Standalone Extension",
|
|
"skipFiles": ["<node_internals>/**"],
|
|
"sourceMaps": true,
|
|
"resolveSourceMapLocations": ["${workspaceFolder}/**", "!**/node_modules/**"],
|
|
"cwd": "${workspaceFolder}/dist-standalone",
|
|
"outFiles": ["${workspaceFolder}/dist-standalone/**/*.js"],
|
|
"preLaunchTask": "compile-standalone",
|
|
"env": {
|
|
"GRPC_TRACE": "all",
|
|
"GRPC_VERBOSITY": "DEBUG",
|
|
"NODE_PATH": "${workspaceFolder}/dist-standalone/node_modules",
|
|
"CLINE_DIR": "${userHome}/.cline-standalone"
|
|
},
|
|
"program": "standalone.js"
|
|
}
|
|
]
|
|
}
|