|
|
|
|
|
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:
- Click one of the links displayed in Chrome (1 link per control).
// 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:
- 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|