SCons supports several command-line options for printing extra information with which to debug build problems.
See the -d, -p, -pa, and -pw options in the , below. All of these options make use of call-back functions to printed by the Build Engine.