|
Script Object |
|
See Also: |
The Script.Debug property returns whether script errors cause error dialogs and just-in-time debugging.
VBScript:
JScript:
| Script | The Script object. |
| boolDebug | True: Syntax errors cause error dialogs, and run-time errors allow just-in-time debugging. False: Errors do not trigger any user interaction. |
The Script.Debug property is read-only. When True, error dialogs will notify the user when fatal errors occur, and if a script debugger is installed, the user is given the option to debug the script when fatal run-time errors occur.
To change the Script.Debug property, set the APGScript.Debug property before the script is first run, or set the APGen.Debug property before opening or running the script.
For more information on syntax errors, run-time errors, and error-handling, see Error Handling.