Camp Rock was released in 2008 .
After making her debut as a child actress in Barney & Friends ( 2002–2004 ) , Lovato rose to prominence when she starred in the Disney Channel television-film Camp Rock ( 2008 ) and released her debut single `` This Is Me , '' which peaked at number nine on the Billboard Hot 100 .
Demi Lovato