Debug

Moduleejs
Definition class Debug
InheritanceDebug inherit Object
Specifiedejscript-2.5
StabilityPrototype.

Debug configuration class.

Singleton class containing the application's debug configuration.


Properties

QualifiersPropertyTypeDescription
static get set modeBooleanThe current debug mode. Setting mode to true will put the application in debug mode. When debug mode is enabled, the runtime will typically suspend timeouts and will take other actions to make debugging easier. Invoking the ejs shell with a -D command line switch will also enable debug mode. This property is read-write.

Debug Class Methods

QualifiersMethod
static breakpoint(): Void
 Break to the debugger.

Debug Instance Methods

(No own instance methods defined)

QualifiersMethod

Method Detail

static breakpoint(): Void
Description
Break to the debugger. Suspend execution and break to the debugger.