forked from devcontainers/cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlaunch.json
41 lines (41 loc) · 1.48 KB
/
launch.json
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
{
// 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": [
{
"type": "node",
"request": "launch",
"name": "Launch CLI - up",
"program": "${workspaceFolder}/src/spec-node/devContainersSpecCLI.ts",
"cwd": "${workspaceFolder}",
// "envFile": "${workspaceFolder}/.env", // Create .env file in the workspace folder to pass environment variables to the CLI.
"args": [
"up",
"--workspace-folder",
"${workspaceFolder}/src/test/configs/example", // Edit this example config to test the CLI against a custom configuration.
"--log-level",
"debug",
],
"console": "integratedTerminal",
},
{
"type": "node",
"request": "launch",
"name": "Launch Tests",
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
"cwd": "${workspaceFolder}",
"args": [
"-r",
"ts-node/register",
"--exit",
"src/test/*.test.ts"
],
"env": {
"TS_NODE_PROJECT": "src/test/tsconfig.json"
},
"console": "integratedTerminal",
}
]
}