isBeingDebugged

isBeingDebugged(): Boolean;

The isBeingDebugged method of the Application class returns true if the application is being run through the JADE debugger or false if the application is not being debugged. This method enables you to execute additional debugging code at run time when an application is being debugged.