forked from quarto-dev/quarto-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlaunch.json
More file actions
60 lines (60 loc) · 2 KB
/
launch.json
File metadata and controls
60 lines (60 loc) · 2 KB
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
{
// 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": [
{
"name": "Launch Deno",
"request": "launch",
"type": "node",
"program": "${workspaceFolder}/src/quarto.ts",
"args": ["serve"],
"cwd": "${workspaceFolder}/../quarto-demo",
"runtimeExecutable": "${workspaceFolder}/package/dist/bin/tools/deno",
"runtimeArgs": [
"run",
"--unstable",
"--importmap=${workspaceFolder}/src/import_map.json",
"--inspect-brk",
"--allow-all"
],
"env": {
"QUARTO_BIN_PATH": "${workspaceFolder}/package/dist/bin",
"QUARTO_SHARE_PATH": "${workspaceFolder}/src/resources"
},
"attachSimplePort": 9229,
"windows": {
"runtimeExecutable": "${workspaceFolder}\\package\\dist\\bin\\tools\\x86_64\\deno.exe"
}
},
{
"name": "Run Quarto test",
"request": "launch",
"type": "node",
"program": "smoke/smoke-all.test.ts", // test script here
"args": [], // args to the script here, like in command line smoke/smoke-all.test.t -- .\docs\smoke-all\2023\01\19\2107.qmd
"cwd": "${workspaceFolder}/tests",
"runtimeExecutable": "${workspaceFolder}/package/dist/bin/tools/deno",
"runtimeArgs": [
"test",
"--config=test-conf.json",
"--unstable",
"--allow-all",
"--check",
"--importmap=${workspaceFolder}/src/import_map.json",
"--inspect-brk"
],
"env": {
"QUARTO_ROOT": "${workspaceFolder}",
"QUARTO_BIN_PATH": "${workspaceFolder}/package/dist/bin",
"QUARTO_SHARE_PATH": "${workspaceFolder}/src/resources",
"QUARTO_DEBUG": "true"
},
"attachSimplePort": 9229,
"windows": {
"runtimeExecutable": "${workspaceFolder}\\package\\dist\\bin\\tools\\x86_64\\deno.exe"
}
}
]
}