简体   繁体   中英

Javascript console output debug verbosity in Visual Studio 2013

I am developing a WP8 app, when I run the emulator that use JS code, the console.log is only shown but error and warn aren't.

There are the commands

    console.log('This line works');
    console.error('This line doesn't work');
    console.warn('This line doesn't work');

This is probably a problem with the Verbosity settings which I didn't find.

Any idea?

There are a few buttons at the top of the console, assuming you're referring to the one inside Visual Studio itself. They toggle the various message types Error, Warnings and Messages.

Visual Studio 2013中的Javascript控制台

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM