-
-
Notifications
You must be signed in to change notification settings - Fork 505
/
Copy pathlaunch.json
83 lines (83 loc) · 2.15 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
{
"version": "0.2.0",
"configurations": [
{
"name": "Run examples",
"type": "node",
"request": "launch",
"cwd": "${workspaceRoot}/packages/examples",
"program": "${workspaceRoot}/packages/examples/node_modules/webpack/bin/webpack.js",
"args": [
"serve",
],
"env": {
"NODE_ENV": "development"
},
"console": "integratedTerminal",
"autoAttachChildProcesses": true,
},
{
"name": "Open Chrome with examples",
"type": "chrome",
"request": "launch",
"url": "http://localhost:3001/",
"webRoot": "${workspaceFolder}/packages/examples",
},
{
"name": "Run Karma tests in debug mode",
"type": "node",
"request": "launch",
"cwd": "${workspaceRoot}/packages/tests",
"program": "${workspaceRoot}/packages/tests/node_modules/karma/bin/karma",
"args": [
"start",
"./karma.conf.js",
// "--filter",
// "${input:filterTests}",
],
"env": {
"TEST_WATCH": "1",
"TEST_DEBUG": "1",
},
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen"
},
{
"name": "Attach to Karma",
"type": "chrome",
"request": "attach",
"address": "localhost",
"port": 9333,
"restart": true,
"timeout": 600000,
"sourceMaps": true,
"webRoot": "${workspaceFolder}/packages/tests",
},
{
"name": "Run Karma tests in watch mode",
"type": "node",
"request": "launch",
"cwd": "${workspaceRoot}/packages/tests",
"program": "${workspaceRoot}/packages/tests/node_modules/karma/bin/karma",
"args": [
"start",
"./karma.conf.js",
// "--filter",
// "${input:filterTests}",
],
"env": {
"TEST_WATCH": "1",
},
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen"
},
],
"inputs": [
{
"id": "filterTests",
"type": "promptString",
"description": "Enter test filenames to filter (without extension), space separated. Or leave empty to test all specs.",
"default": ""
}
]
}