generated from decentralized-identity/veramo-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
launch.json
54 lines (54 loc) · 1.8 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
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "debug OpenAPI server",
"skipFiles": ["<node_internals>/**"],
"program": "${workspaceFolder}/node_modules/@veramo/cli/bin/veramo.js",
"args": ["--config", "${workspaceFolder}/agent.yml", "server"],
"sourceMaps": true,
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"resolveSourceMapLocations": ["${workspaceFolder}/**", "**/node_modules/**"],
"autoAttachChildProcesses": true
},
{
"type": "node",
"request": "launch",
"name": "debug myPluginFoo using @veramo/cli",
"skipFiles": ["<node_internals>/**"],
"program": "${workspaceFolder}/node_modules/@veramo/cli/bin/veramo.js",
"args": [
"--config",
"${workspaceFolder}/agent.yml",
"execute",
"-m",
"myPluginFoo",
"-a",
"{\"did\": \"did:web:example.com\", \"foo\": \"hello\", \"bar\": \"world\"}"
],
"sourceMaps": true,
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"resolveSourceMapLocations": ["${workspaceFolder}/**", "**/node_modules/**"],
"autoAttachChildProcesses": true
},
{
"type": "node",
"request": "launch",
"name": "debug integration tests",
"program": "${workspaceFolder}/node_modules/.bin/jest",
"args": ["--runInBand", "--coverage=false", "--config=jest.json"],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"disableOptimisticBPs": true,
"windows": {
"program": "${workspaceFolder}/node_modules/jest/bin/jest"
},
"sourceMaps": true,
"resolveSourceMapLocations": ["${workspaceFolder}/**", "**/node_modules/**"]
}
]
}