summaryrefslogtreecommitdiff
path: root/.vscode/launch.json
blob: 2c7d1a2762a1ac869822ca624d4f0436a6773c0d (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{
  // 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",
  "compounds": [
    {
      "name": "Server + Extension (VSCode)",
      "stopAll": true,
      "configurations": [
        "Server",
        "Extension (VSCode)"
      ]
    }
  ],
  "configurations": [
    {
      "name": "Server",
      "type": "python",
      "request": "launch",
      "module": "continuedev.src.continuedev.server.main",
      "args": [
        "--port",
        "8001"
      ],
      "justMyCode": false,
      "subProcess": false,
      // Does it need a build task?
      // What about a watch task? - type errors?
    },
    {
      "name": "Extension (VSCode)",
      "type": "extensionHost",
      "request": "launch",
      "cwd": "${workspaceFolder}/extension",
      "args": [
        "--extensionDevelopmentPath=${workspaceFolder}/extension",
      ],
      "outFiles": [
        "${workspaceFolder}/extension/out/**/*.js"
      ],
      "preLaunchTask": "vscode-extension:build",
      "env": {
        "CONTINUE_SERVER_URL": "http://localhost:8001"
      }
    },
  ]
}