About Arbortext Styler > Debugging Stylesheets > Performance Profiling for Arbortext Styler or FOSI Stylesheets > How to Output Diagnostic Information
  
How to Output Diagnostic Information
In general, diagnostic information can be output to a nominated file using the command line instruction set debug=diagnostic type,=filename, where:
diagnostic type is the type of information you wish to output, either a full set of those available or a specific type (see Diagnostic information types for a list of types)
filename is the absolute path to the file where the diagnostic information will be written. The filename must not contain spaces.
The debug instruction is usually activated via the Arbortext Editor command line while the document that appears to contain a problem is open. Note, though, that if you are trying to find out why a document is slow to open, the instruction must be given before the document opens to have any effect.