Skip to content

Commit 954f8f2

Browse files
authored
fix vscode launch config for npm args (#8)
Based on microsoft/vscode#68443, the VSCode launch config needs to be updated to pass arguments to npm correctly.
1 parent f14c180 commit 954f8f2

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.vscode/launch.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,24 @@
99
"type": "node",
1010
"request": "launch",
1111
"runtimeExecutable": "npm",
12-
"runtimeArgs": ["run", "start", "desktop", "--", "--app", "excel"]
12+
"runtimeArgs": ["run", "start", "desktop"],
13+
"args": ["--", "--app", "excel"]
1314
},
1415
{
1516
"name": "PowerPoint Desktop",
1617
"type": "node",
1718
"request": "launch",
1819
"runtimeExecutable": "npm",
19-
"runtimeArgs": ["run", "start", "desktop", "--", "--app", "powerpoint"]
20+
"runtimeArgs": ["run", "start", "desktop"],
21+
"args": ["--", "--app", "powerpoint"]
2022
},
2123
{
2224
"name": "Word Desktop",
2325
"type": "node",
2426
"request": "launch",
2527
"runtimeExecutable": "npm",
26-
"runtimeArgs": ["run", "start", "desktop", "--", "--app", "word"]
28+
"runtimeArgs": ["run", "start", "desktop"],
29+
"args": ["--", "--app", "word"]
2730
},
2831
{
2932
"name": "Office Online (Chrome)",

0 commit comments

Comments
 (0)