Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need Debugger option for the outlook add-in development for desktop app #1384

Closed
Harshagracy opened this issue Oct 24, 2019 · 9 comments
Closed
Assignees
Labels
Area: Outlook Feedback on Outlook content Type: product feature request Office JS feature request that should be posted to Microsoft Q&A

Comments

@Harshagracy
Copy link

Article URL

https://docs.microsoft.com/en-us/outlook/add-ins/quick-start

Issue

There is no debugger for the outlook add-in development for outlook desktop application like we have in word/powerpoint. Somethings which works in browser will not work in outlook desktop client. it would be really great if you could add this in your next release.

Please add the visual studio debugger option, else provide a way to debug them for the desktop app.

@ghost ghost added the Needs: triage 🔍 New issue, needs PM on rotation to triage ASAP label Oct 24, 2019
@abdulkareemnalband
Copy link

If you are on windows 10 1903 edge devtools
https://www.microsoft.com/en-in/p/microsoft-edge-devtools-preview/9mzbfrmz0mnj?activetab=pivot:overviewtab

If you are on windows 10 1807 or earlier use f12 ie chooser
C:\Windows\SysWOW64\F12\IEChooser.exe

for more info see
https://docs.microsoft.com/en-us/office/dev/add-ins/testing/debug-add-ins-using-f12-developer-tools-on-windows-10

@kbrandl kbrandl added Area: Outlook Feedback on Outlook content Needs: attention 👋 Waiting on Microsoft to provide feedback Type: product question Question about the Office Add-ins platform or Office JavaScript APIs and removed Needs: triage 🔍 New issue, needs PM on rotation to triage ASAP labels Oct 24, 2019
@kbrandl
Copy link
Contributor

kbrandl commented Oct 24, 2019

@Harshagracy thanks for reaching out about this. @ElizabethSamuel-MSFT FYI, assigning to you for investigation / follow-up. (The information that @abdulkareemnalband provided earlier in this thread applies to debugging on the web, but @Harshagracy is looking for information about debugging Outlook desktop.) Thanks!

@Harshagracy
Copy link
Author

Harshagracy commented Oct 25, 2019

Thanks, @kbrandl for clarifying that. Yes, I am looking for debugger option like we have in word/excel/powerpoint. To be exact, as mentioned in this article.
https://docs.microsoft.com/en-us/office/dev/add-ins/testing/attach-debugger-from-task-pane

It is easy for word add-in. Just click the arrow from top right corner of the task pane and select attach debugger. It gives the option to use visual studio and launch the debugger. For outlook, I don't see any arrow from the task pane as well as from the ribbon. I have to setstate of a variable to see whats the error. ;) (I know it's bad). That's where I need help.

@Harshagracy
Copy link
Author

Hi,

Is there any update on this?

@ElizabethSamuel-MSFT
Copy link
Contributor

@exextoc Can you provide any guidance on this?

Thanks.

@exextoc
Copy link
Collaborator

exextoc commented Nov 9, 2019

Thanks for your question.

For the two main debugging options, the information provided by @abdulkareemnalband is correct. You would use either Edge DevTools (for recent versions of Office and Windows where the task pane is rendered in Edge WebView) or the F12 Chooser, if either Office or Windows is an older version, where the task pane is rendered in IE.

Please check this article for the specific Office and Windows versions where Edge WebView is used.

And once you determine which debugger to use, this article describes how to attach both debuggers.

The second article you linked to describes one way of attaching the Visual Studio debugger, which is possible when rendering in IE. But the other two options are currently the preferred debuggers.

@Harshagracy
Copy link
Author

@exextoc Thank you. I feel it is the same comment as @abdulkareemnalband . Still, I did not get my answer to the query. I am looking for information about debugging in Outlook desktop for outlook add-in.

@exextoc
Copy link
Collaborator

exextoc commented Nov 15, 2019

Outlook desktop does not have a debugger that can attach from the taskpane. The only options are the ones stated in our answer above:

  1. Edge DevTools or F12 Chooser (depending on your build)
  2. Attaching the Visual Studio debugger

Both of these debuggers allow you to attach to your add-in for debugging. The articles linked in our last answer provide steps for attaching and debugging tips (such as how to set breakpoints).

@ElizabethSamuel-MSFT ElizabethSamuel-MSFT added Type: product feature request Office JS feature request that should be posted to Microsoft Q&A and removed Needs: attention 👋 Waiting on Microsoft to provide feedback Type: product question Question about the Office Add-ins platform or Office JavaScript APIs labels Nov 26, 2019
@ElizabethSamuel-MSFT
Copy link
Contributor

@Harshagracy Please take a few minutes to request Outlook desktop debugging for the task pane in User Voice. The product team considers these requested features as they plan.

I'll go ahead and close this issue. If you have any further questions about this, do let us know and we'll reopen this issue.

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Outlook Feedback on Outlook content Type: product feature request Office JS feature request that should be posted to Microsoft Q&A
Projects
None yet
Development

No branches or pull requests

5 participants