Specify debug messages as special string constants, and control
debugging of packages via environment variables.
