Rachel Crawford at Bonza Schooldays writes that 'Pam's "debt" is a promise to the man, Captain Harvey, who saved the life of her P.O.W. father, to look after his daughter, Janita, who is starting as a new girl at Pam's school. Pam has a difficult time with Janita, who is shallow and spoilt, and finds herself torn between her best friend Judy and her duty to look after Janita. Matters come to a head when Pam is caught at a nightclub during a police raid.' In fact, Pam was trying to keep Janita from misbehaving at the time.
Source: Bonza Schooldays (http://www.bonzaschooldays.com/2009/08/dora-joan-potter-joan-potter.html)