WHITNEY HOUSTON’s troubled daughter BOBBI KRISTINA learned she was pregnant just hours before a wild night of partying – ending in a shocking suicide drama! 

In a bombshell world exclusive, The National ENQUIRER can reveal the tortured final minutes of the 21-year-old’s horrific Jan. 31 medical emergency, with Bobbi Kristina clinging to life.

“Krissi was pushed to the edge,” a source told The ENQUIRER.

“She learned she was in the family way only hours before,” added a pal – a fact confirmed in leaked emails, obtained by The ENQUIRER, between Bobbi Kristina and a family friend.

In them, she talked openly about wanting to have a child. Said a source: “On top of that, she was at war with her father [Bobby Brown] and haunted by her mother Whitney’s demons as the third anniversary of her death approached.

“If that wasn’t enough, Krissi was reeling from the TV movie that had aired on Lifetime only days before, which showed her mom and dad’s stormy relationship and their drug use.”

In a scene eerily similar to her mother’s tragic death on Feb. 11, 2012, Bobbi Kristina was found unconscious in a waterfilled bathtub at her townhouse in the Atlanta suburb of Roswell, Ga.

Added another insider: “What may have started as a cry for help ended in what appeared to be a tragic suicide and drug overdose.”

This wasn’t the first suicide bid: The ENQUIRER reported in 2008 that Bobbi Kristina – then 14 years old – slashed her wrists with a razor blade after trying to stab her mom during a heated argument.

Bobbi Kristina was also distraught over constantly fighting with husband Nick Gordon as the couple marked their first anniversary, the source added. The police had been called to the townhouse on Jan. 23 over a reported fight – but when cops arrived, there was no one home.

Six days later, Bobbi Kristina retweeted a post that seems ominous in retrospect: “Getting your s–t together is one thing, keeping it together is another.”

FOR ALL THE DETAILS – it’s ONLY in the new ENQUIRER – now on sale!