Windows Phone 7 and 7.5 don`t have any way to debug your javascript code. This short snippet of javascript and native C# code simply forwards the console.log output to the Visual Studio Output.