Debug Levels
In most modules, the user can select to have additional "debugging" information printed to stdout by including the -d switch. This is often useful for developers, and can also provide extra information for any user who is experiencing some sort of problem they can't track down. In debug mode, programs print out detailed information about their parameters and what commands they send to other programs, helping the user to isolate the problem.
Some modes have multiple levels of debugging: a simple mode (-d 1) and more complex ones (-d 2, -d 3, etc) in which they print out increasingly detailed amounts of information. For example, the lowest debug setting for mProject generates this output, while a setting of -d 2 generates this longer output. The main different between these two examples is that the higher level of debugging causes mProject to print out which row it's working on as it goes, so if a problem is occurring at a specific location on the image, it would be easier to track down.
See the API for more information on which levels are available for each module.
All debugging output is sent to stdout, with no special formatting to separate debugging output from any other output.