最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

How To Debug a vscode extension's WebView javascript - Stack Overflow

programmeradmin9浏览0评论

I am building a vscode extension, but I cannot set breakpoints in the Javascript in the WebView. Is there a way to debug the Javascript, even though the WebView is a separate process? Specifically, I am trying to incorporate a Telerik TreeView/TreeList and it is not displaying. The HTML and Javascript will display, in a self-contained data version, not using postMessage, if saved off to an HTML file and loaded into a browser. It is most likely a problem in my code, but I need a way to debug it. Thank you.

I am building a vscode extension, but I cannot set breakpoints in the Javascript in the WebView. Is there a way to debug the Javascript, even though the WebView is a separate process? Specifically, I am trying to incorporate a Telerik TreeView/TreeList and it is not displaying. The HTML and Javascript will display, in a self-contained data version, not using postMessage, if saved off to an HTML file and loaded into a browser. It is most likely a problem in my code, but I need a way to debug it. Thank you.

Share Improve this question asked Oct 2, 2018 at 17:12 F. BrierF. Brier 2012 silver badges8 bronze badges
Add a ment  | 

2 Answers 2

Reset to default 22

Use the following mand: Open Webview Developer Tools

I haven't solved my problem, but a page I had read 10 times explained how to debug a WebView in vscode. I should be able to figure it out from here. RTFM .

发布评论

评论列表(0)

  1. 暂无评论