Question: Which 1942 comedy film about actors in Nazi-occupied Warsaw spawned a Broadway-bound play of the same name?

Context paragraphs:
Girl Trouble (1942 film): Girl Trouble is a 1942 comedy film made by 20th Century Fox, directed by Harold D. Schuster, and starring Don Ameche and Joan Bennett.  It is also known as Between You and Me and Man from Brazil.

Duke of the Navy: Duke of the Navy is a 1942 comedy film that was directed by William Beaudine from a screenplay by Beaudine, Gerald Drayson Adams, and John T. Coyle.  It stars Ralph Byrd as Bill "Breezy" Duke, Stubby Kruger as Dan "Cookie" Cook, and Veda Ann Borg as Maureen.

George Washington Slept Here: George Washington Slept Here is a 1942 comedy film starring Jack Benny and Ann Sheridan.  It was based on the 1940 play of the same name by Moss Hart and George S. Kaufman, adapted by Everett Freeman, and was directed by William Keighley.  The film also starred Hattie McDaniel, the first black woman to ever win an Academy Award.

Powder Town: Powder Town is a 1942 comedy about an eccentric scientist thrust into danger and romance.  Max Brand worked on the screenplay and published a novelisation under his own name.

To Be or Not to Be (play): To Be or Not to Be is a play written by Nick Whitby, based on the 1942 film "To Be or Not to Be".  The play, described as a "black comedy" was produced by the Manhattan Theatre Club, and ran on Broadway in 2008.

Andy Hardy's Double Life: Andy Hardy's Double Life is a 1942 comedy film directed by George B. Seitz.  It was the thirteenth installment of MGM's enormously popular Andy Hardy film series starring Mickey Rooney as the title character.

To Be or Not to Be (1942 film): To Be or Not to Be is a 1942 American comedy film directed by Ernst Lubitsch, about a troupe of actors in Nazi-occupied Warsaw who use their abilities at disguise and acting to fool the occupying troops.  It was adapted by Lubitsch (uncredited) and Edwin Justus Mayer from the story by Melchior Lengyel.  The film stars Carole Lombard, Jack Benny, Robert Stack, Felix Bressart, Lionel Atwill, Stanley Ridges and Sig Ruman.  The film was released one month after actress Carole Lombard was killed in an airplane crash.

Pardon My Sarong: Pardon My Sarong is a 1942 comedy film starring Abbott and Costello.

Rio Rita (1942 film): Rio Rita is a 1942 comedy film starring Abbott and Costello.  It was based upon the 1927 Flo Ziegfeld Broadway musical, which was previously made into a 1929 film also titled "Rio Rita" that starred the comedy team of Wheeler & Woolsey.  Kathryn Grayson (in her first starring picture) and John Carroll replace the 1929 version's Bebe Daniels and John Boles.

Sunday Punch (film): Sunday Punch is a 1942 comedy film directed by David Miller, starring William Lundigan and Jean Rogers.

Supporting paragraphs: To Be or Not to Be (play) To Be or Not to Be (1942 film)
Answer: To Be or Not to Be