The B-29 was the first bomber with a pressure cabin. This allowed it operate at a high altitude for a longer time than other bombers of the era, staying out of flak range, etc. I imagine that was part of the reason for the high development cost.
Prior to that bomber crews operated using electrically heated flight suites, gloves and used oxygen masks, when reaching those altitudes.