简体   繁体   中英

How can I get Angular $log messages to appear in FireFox/FireBug console?

I'm using Angular 1.6.2. I find that messages from the $log service do not appear in the Console window for the FireFox browser with FireBug installed. (Firefox 52.0.1).

How can I get them to appear?

When I run the same Website in Chrome, IE, and Edge the $log messages appear happily. Even the sample in the Angular documentation ( https://docs.angularjs.org/api/ng/service/ $log) does not display a Console message in my FireFox.

Buried in the answers to this Question ( Firebug console: not showing console.log ) is

Firebug is officially discontinued now and the console output is broken in Firefox 51.0.1 due to a change in the Firefox internal APIs Firebug uses to access the related data....Firebug users are advised to switch over to the Firefox DevTools instead. There, the console output works as expected.

I'm using FireFox 52. I installed the FireFox developer edition and I can see $log messages in the console.

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