launch.json 753 Bytes
Newer Older
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
{
  "version": "0.2.0",
  "configurations": [
    {
      "name": "Run Unit Tests",
      "type": "python",
      "request": "launch",
      "cwd": "${workspaceFolder}",
      "program": "setup.py",
      "args": [
        "test"
      ],
      "console": "integratedTerminal"
    },
    {
      "name": "Build Website",
      "type": "node",
      "request": "launch",
      "skipFiles": [
        "<node_internals>/**"
      ],
      "cwd": "${workspaceFolder}/website",
      "runtimeExecutable": "npm",
      "runtimeArgs": [
        "run-script",
        "start"
      ],
      "serverReadyAction": {
        "action": "openExternally",
        "pattern": "Docusaurus website is running at \"(.*?)\"",
        "uriFormat": "%s"
      }
    }
  ]
}