gemini-cli/.vscode/launch.json

30 lines
1.0 KiB
JSON

{
// 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": "Attach",
"port": 9229,
"request": "attach",
"skipFiles": ["<node_internals>/**"],
"type": "node",
// fix source mapping when debugging in sandbox
// we assume debugging is done on gemini-code project itself (see CLI_PATH setup in start_sandbox.sh)
// there seems to be no way to map two distinct remoteRoots to same localRoot under same configuration
// "remoteRoot": "/usr/local/share/npm-global/lib/node_modules/@gemini-code",
"remoteRoot": "/sandbox/gemini-code/packages",
"localRoot": "${workspaceFolder}/packages"
},
{
"type": "node",
"request": "launch",
"name": "Launch Program",
"skipFiles": ["<node_internals>/**"],
"program": "${file}",
"outFiles": ["${workspaceFolder}/**/*.js"]
}
]
}