File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change 1
1
# Debugging
2
2
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
+
3
21
## Using Visual Studio Code
4
22
5
23
1. Open the folder in VS Code.
6
24
2. Run the `Dev Server` task using `Terminal`, `Run Task`.
7
25
26
+ The first time, open a browser to https://localhost:3000 to verify that the SSL certificates are trusted.
8
27
9
28
### Office Online (Edge - Windows 10 / Chrome - Mac)
10
29
1. Switch to the Debug view using `View`, `Debug` or press Ctrl+Shift+D.
You can’t perform that action at this time.
0 commit comments