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

No Console Output #20

Open
bgausden opened this issue Jan 20, 2021 · 5 comments
Open

No Console Output #20

bgausden opened this issue Jan 20, 2021 · 5 comments

Comments

@bgausden
Copy link

Windows 20H2 19042.746
Excel 16.0.13707 .20008 64bit

Taken a day of experimentation to understand how to attach the debugger in VS Code. Largely due to my system insisting on using Edge Legacy for webviews.

Now I have breakpoints, I find I don't have any console output in the VS Code Debug Console. Expected?

@bgausden
Copy link
Author

bgausden commented Jan 21, 2021

I've found a work-around by using the Microsoft Edge DevTools Preview console so not urgent, just extra friction when debugging.

Have also discovered the WebView2 Runtime (https://docs.microsoft.com/en-us/microsoft-edge/webview2/) which does provide console output to the VS Code Debug Console. Missed the requirement that it needed to be separately installed. I'll raise this with the doc project.

@TCourtneyOwen
Copy link
Contributor

@bgausden did you add "trace": "verbose" to your launch.json config?

@akrantz
Copy link

akrantz commented Jan 21, 2021

That doesn't affect console output. That allows diagnostic output from the debug extension to be shown.

@dlee992
Copy link

dlee992 commented Feb 18, 2021

I am developing Add-in with Excel, and also encounter this console output problem. If having any solution, please @me.

@bgausden
Copy link
Author

@dlee992 install webview2 if you can. I’ve had a better experience with it during development - including debug in the console.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants