See also: JSV_writeDebug, JSV_writeDebug2

The JSV_openDebugConsole function opens a blank window to which debug information may be written.

Syntax

JSV_openDebugConsole([expA])

Returns

n/a

Parameters

The JSV_writeDebug function uses the following arguments.

Argument Description
expA Optional. A comma-delimited list of window attributes/values that can be passed to control the look-and-feel of the window. (See JSV_openWindow for a list of window attributes.) The default window attributes are:
   scrollbars=1
   resizable=1
   width=460,height=120
   left=320,top=50,screenX=330,screenY=50

Remarks

n/a

Dependencies

JSV_isWindowClosed, JSV_openWindow, JSV_focusWindow

Example

The following lines of code

function debugTest() {
    JSV_openDebugConsole('menubar=1');
}

produce a new window to which the debug information can be written

Open Debug Console