Skip to content

Commit 23d0172

Browse files
committed
chore, launch.json - move quarto.ts as an argument of runtimeArgs instead of program in the launch.json file
VSCode somehow looks for quarto.ts.js transpiled version of the file, and this breaks the debugging process for Quarto with Deno caching.
1 parent 3a1d1ac commit 23d0172

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.vscode/launch.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
"name": "Launch Deno",
99
"request": "launch",
1010
"type": "node",
11-
"program": "${workspaceFolder}/src/quarto.ts",
1211
"args": ["serve"],
1312
"cwd": "${workspaceFolder}/../quarto-demo",
1413
"runtimeExecutable": "${workspaceFolder}/package/dist/bin/tools/deno",
@@ -19,7 +18,8 @@
1918
"--importmap=${workspaceFolder}/src/import_map.json",
2019
"--inspect-brk",
2120
"--allow-all",
22-
"--v8-flags=--enable-experimental-regexp-engine,--max-old-space-size=8192,--max-heap-size=8192"
21+
"--v8-flags=--enable-experimental-regexp-engine,--max-old-space-size=8192,--max-heap-size=8192",
22+
"${workspaceFolder}/src/quarto.ts"
2323
],
2424
"env": {
2525
"QUARTO_BIN_PATH": "${workspaceFolder}/package/dist/bin",

0 commit comments

Comments
 (0)