Specifies attributes for error handling.
<?component error="flag" debug="flag" ?>
- A Boolean value: "true" or "false," 1 or 0, or "yes" or "no." The default value for all attributes is false.
Because script components are used as COM components, they normally run silently. However, while you are developing your script component file, you might find it useful to be notified about errors in the file. You can specify these types of error notification:
- error Set this to true to allow error messages for syntax or run-time errors in the script component file.
- debug Set this to true to enable debugging. If this debugging is not enabled, you cannot launch the script debugger for a script component in any way.
<?component error="true" debug="true" ?>
Checking For Errors in Script Component Files | Script Component File Contents