summaryrefslogtreecommitdiff
path: root/.vscode/launch.json
blob: 531210a572643f91949a40316f8ca0283b728ff9 (plain) (blame)
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
// A launch configuration that compiles the extension and then opens it inside a new window
{
  "version": "0.2.0",
  "configurations": [
    {
      "name": "Launch Client",
      "type": "extensionHost",
      "request": "launch",
      "runtimeExecutable": "${execPath}",
      "args": ["--extensionDevelopmentPath=${workspaceRoot}/tools/astro-vscode"],
      "outFiles": ["${workspaceRoot}/tools/astro-vscode/dist/**/*.js"]
    },
    {
      "type": "node",
      "request": "attach",
      "name": "Attach to Server",
      "port": 6040,
      "restart": true,
      "outFiles": ["${workspaceRoot}/tools/astro-languageserver/dist/**/*.js"],
      "skipFiles": ["<node_internals>/**"]
    }
  ],
  "compounds": [
    {
      "name": "Launch Extension",
      "configurations": ["Launch Client", "Attach to Server"]
    }
  ]
}