The WebBrowser control (based on WebView2) now supports remote debugging over HTTP on the specified port.
You can enable the remote debugging through the following scripts:
li_return = WebBrowserSet("remote-debugging-port", "8210") li_return = WebBrowserSet("remote-allow-origins", "*")
Notes: These scripts must be executed before the window that contains the WebBrowser control is opened. You can place these scripts in the application Open event, or in any place that is executed before the window that contains the WebBrowser control is opened. The remote-allow-origins, and remote-debugging-port settings should be used only when the application is in the debug mode. For optimal performance, please comment out these settings when the application is not in the debug mode.
For more information, refer to WebBrowserSet.