I am using Microsoft Visual Studio to build a mobile app using Cordova. The JavaScript console logs in VS are somehow persistent over different debugging sessions, which often causes confusion to myself. How do I make it automatically clear VS console logs every time I build?
I am using Visual Studio 2015.
This may be what you want to use:
console.clear();
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.