Obtains the status of the debug option.

1 system.getDebug

<system.getDebug />

Obtain the debug status.

<xsql-script name='system_getDebug_sample1'>
            <expr><system.getDebug /></expr>
                <println>xsql-script with debug option ACTIVATED</println>
                <println>xsql-script with debug option DISABLED</println>

Imagine that the command used for the script execution (ws-dbscript), has been specified as debug (through the opction -debug). If during the script execution, you ask for the status of this option, the result shown on screen would be:

xsql-script with debug option ACTIVATED