summaryrefslogtreecommitdiff
path: root/.vscode/launch.json
blob: cc8b3ef6823120af5d9c07a13d9ad391fdfa95ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
  // 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"]
    }
  ]
}