Debugging cost data objects

For debugging use, it may be helpful to use the cost data object method debugString. This method generates a debug string containing the core rate, amount, and basis properties on the CostData for debug purposes.