ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / HTML Display functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
HTMLEnableDebugger (Function)
In french: HTMLActiveDébogueur
Enables the HTML/JavaScript debugger on CEF-based HTML controls: HTML Display or HTML Editor control.
To debug the controls, simply:
  • Open Chrome and type the following address:
    http://localhost:8088/
  • Click one of the links displayed in Chrome (1 link per control).
Example
// Project initialization code
IF LoadParameter("Debug") = "1" THEN
     HTMLEnableDebugger(8081)
END
Syntax
HTMLEnableDebugger(<Port number>)
<Port number>: Integer
Port number used for debugging. By default, this number is 8088.
Remarks
  • This function must be called before creating any HTML control (HTML Display or HTML Editor control), for example, in the project initialization.
  • The HTML/JavaScript debugger (Devtools) can be displayed with the following URL:
    http://machine_name:port_num/
    For example:
    http://localhost:8088/
  • The debugger is enabled by default when a test is launched via GO, but is not enabled during the execution of the application. It can be used to trace the JavaScript code added with ExecuteJS, for example.
Business / UI classification: Neutral code
Component: wd290obj.dll
Minimum version required
  • Version 27
Comments
Click [Add] to post a comment

Last update: 06/13/2023

Send a report | Local help