See the so called 'Long Depression' in the 19th century. Which was only a depression of the price level, everything else did well.
For a more sectoral example, see how computer hardware used to get cheaper and cheaper all the time, but total spending on hardware went up.
How does that work? When inflation goes to 18%, borrowing rates go to 23%.