Scoped GlideSystem - isDebugging()

Determines if debugging is active for a specific scope.

Table 1. Parameters
Name Type Description
Table 2. Returns
Type Description
Boolean True if either session debugging is active or the log level is set to debug for the specified scope.
gs.debug("This is a log message");
var myFirstName = "Abel";
var myLastName = "Tuter";
gs.debug("This is a log message from {0}.{1}", myFirstName, myLastName);;