Skip to content

Commit a6e2756

Browse files
[all hosts] (Debugging) Add section about the debug versions of office.js (#5094)
* Add section about the debug versions of office.js * Update docs/testing/debug-add-ins-overview.md Co-authored-by: Sam Ramon <[email protected]> --------- Co-authored-by: Sam Ramon <[email protected]>
1 parent d0cb81e commit a6e2756

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

docs/testing/debug-add-ins-overview.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Debug Office Add-ins
33
description: Find the Office Add-in debugging guidance for your development environment.
44
ms.topic: overview
5-
ms.date: 12/21/2023
5+
ms.date: 03/20/2025
66
ms.localizationpriority: high
77
---
88

@@ -80,6 +80,15 @@ There is no desktop version of Office for Linux, so you'll need to [sideload the
8080

8181
To debug an add-in that is already in staging or production, attach a debugger from the UI of the add-in. For instructions, see [Attach a debugger from the task pane](attach-debugger-from-task-pane.md).
8282

83+
## Versions of office.js for debugging
84+
85+
There are debug versions of the Office JavaScript libraries. These versions are more human readable and easier to step through with a debugger. Use them when the Office JavaScript APIs aren't working as expected. Avoid using them when you publish and deploy your add-in.
86+
87+
The debug versions are found at the following CDN locations.
88+
89+
- Office JavaScript API library: `https://appsforoffice.microsoft.com/lib/1/hosted/office.debug.js`
90+
- Office JavaScript API (preview) library: `https://appsforoffice.microsoft.com/lib/beta/hosted/office.debug.js`
91+
8392
## See also
8493

8594
- [Runtimes in Office Add-ins](runtimes.md)

0 commit comments

Comments
 (0)