Parameter: debugjavascript

Startup parameters change the behavior of the Service Manager server. You can always set a startup parameter from the server's operating system command prompt.

Parameter

debugjavascript

Description

This parameter causes the Service Manager server to write JavaScript debugging messages to the log file. Its value can be 1, 2, or 3.

  • 1: Prints log information when an object is compiled, created, or disposed.
  • 2: In addition to the output of debugjavascript:1, prints log information when the garbage collector of the server's internal JavaScript engine is started or stopped.

  • 3: Forces the JavaScript engine to run garbage collection before running any JavaScript scripts.

    Caution This setting is intended only for developers, and must not be used in production environments.

Valid if set from

Server's operating system command prompt

Initialization file (sm.ini)

Requires restart of the Service Manager server?

No

Default value

None

Possible values

1, 2, and 3

Example usage

Command line: sm -httpPort:13080 -debugjavascript:1

Initialization file: debugjavascript:1

Related topics

System parameters
Enter a parameter in the sm.ini file
Debugging parameters