Just ran across this line in Think Python: How to Think Like a Computer Scientist:
The print statements we wrote are useful for debugging, but once you get the function working, you should remove them. Code like that is called scaffolding because it is helpful for building the program but is not part of the final product.
That is a brilliant name for temporary code used for debugging. Why have I never heard this term before?