Skip to content

Commit 02dc3aa

Browse files
committed
Debug launch for Office Online will prompt for url
1 parent da00723 commit 02dc3aa

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.vscode/launch.json

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,19 @@
1919
"type": "edge",
2020
"request": "launch",
2121
// To debug your Add-in:
22-
// 1. Replace the url with the share link to an Office Online document.
22+
// 1. When prompted, enter the url (share link) to an Office Online document.
2323
// 2. Sideload your Add-in. https://docs.microsoft.com/en-us/office/dev/add-ins/testing/sideload-office-add-ins-for-testing
24-
"url": "https://www.office.com",
24+
"url": "${input:officeOnlineDocumentUrl}",
2525
"webRoot": "${workspaceFolder}",
2626
"preLaunchTask": "Debug: Web"
2727
}
28-
]
28+
],
29+
"inputs": [
30+
{
31+
"id": "officeOnlineDocumentUrl",
32+
"type": "promptString",
33+
"description": "Please enter the url for the Office Online document.",
34+
}
35+
],
36+
2937
}

0 commit comments

Comments
 (0)