I have created the WindowsPhone8 project using IBM MobilFirst Studio Version 7
. This is creating Window Phone Silverlight 8.1 project for VS (Visual Studio).
When I put console.log
in js file and test the application on device, that logs are not coming in Visual Studio's Output console.
In output console, I have also filter the messages by Javascript. In debug section of project properties, it is not showing me Native with Script option.
Is there any option I have to enable or some configuration I have to do in order to enable console.log
in VS?
Edit 1: I have tried WL.Logger.warn, WL.Logger.error and WL.Logger.info, but none of them works.
This is a limitation of Silverlight-Visual Studio itself and not MFP. To debug a MFPF Silverlight application, you can follow the approaches mentioned in this article.