It’s actually so nuts. People rarely get into the details of how crazy accounting was in Enron. They made an agreement to build a power plant, then booked 50 years of profit from operating it before they broke ground.
The associated debt was in the subsidiary, and thus didn't show up on the balance sheet.