0

This question is related to Outlook AddIn : How to show console.log with Outlook Desktop?.

So, what I want is to have an Add-in that just does some automation with launch events and doesn't use a task pane (also see Create an Outlook Add-in without a task pane about this).

Maybe that is a bad idea in the first place, please tell me if so.

However, in this setting, viewing the log with tools described here Outlook AddIn : How to show console.log with Outlook Desktop? doesn't work.

Is there a way to view the log, or a suggestion how I can get notified of problems during the code execution (including printing some values for debugging)?

Eugene Astafiev
  • 47,483
  • 3
  • 24
  • 45
clel
  • 175
  • 1
  • 3
  • 8

1 Answers1

1

You can attach the debugger from VSCode and go through each line tracking intermediate results instantly. See Debug your event-based Outlook add-in for more information.

The output window will display your console.log statements.

Eugene Astafiev
  • 47,483
  • 3
  • 24
  • 45