Skip to content

Commit c0285ce

Browse files
authored
Debugging doc needs prerequisites and first-time steps (#13)
1 parent 4540e82 commit c0285ce

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

Debugging.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,29 @@
11
# Debugging
22

3+
## Prerequisites
4+
5+
1. Node.js version 8 or higher.
6+
2. VS Code - latest version recommended.
7+
8+
## First Time
9+
10+
1. Trust the SSL certificates for `https://localhost`. [More info](https://github.com/OfficeDev/generator-office/blob/master/src/docs/ssl.md)
11+
2. On Mac, enable debugging for the webview using Safari Web Inspector.
12+
13+
In a Terminal window, run these commands:
14+
```
15+
defaults write com.microsoft.Word OfficeWebAddinDeveloperExtras -bool true
16+
defaults write com.microsoft.Excel OfficeWebAddinDeveloperExtras -bool true
17+
defaults write com.microsoft.Powerpoint OfficeWebAddinDeveloperExtras -bool true
18+
defaults write com.microsoft.Outlook OfficeWebAddinDeveloperExtras -bool true
19+
```
20+
321
## Using Visual Studio Code
422
523
1. Open the folder in VS Code.
624
2. Run the `Dev Server` task using `Terminal`, `Run Task`.
725
26+
The first time, open a browser to https://localhost:3000 to verify that the SSL certificates are trusted.
827
928
### Office Online (Edge - Windows 10 / Chrome - Mac)
1029
1. Switch to the Debug view using `View`, `Debug` or press Ctrl+Shift+D.

0 commit comments

Comments
 (0)