The debt isn't going to stay in place following the IPO. The capital generated in the IPO will be used to paydown all, if not most, of the debt. New debt will be issued (much small principal) by the newly public company and life will go on.
This is what happens when you are taken private by a company like WP. They load you with debt and you take the losses year after year to save them money (operating loss means no income which means no taxes) then they sell you (or IPO) and count their money.