Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How To Debug a vscode extension's WebView javascript

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.

like image 397
F. Brier Avatar asked Jan 24 '26 01:01

F. Brier


1 Answers

Use the following command: Open Webview Developer Tools

like image 68
t Win Avatar answered Jan 26 '26 18:01

t Win