PDA

View Full Version : console.log in Firefox



c1529g
November 16th, 2015, 05:24 PM
Have been trying to use console.log in Firefox Ctrl-Shift-K but i can't figure out how to get my scripts to appear?

Dimarchi
November 17th, 2015, 07:25 AM
Click Debugger in that view. It lists your scripts in addition to add-on scripts. Just select the script you wish to work with. However, if it is a message you want to see in the Console view, console.log should work just fine. Try console.log("test") somewhere apart from everything else in your script to see it. The string test should appear in the Console view.

c1529g
November 17th, 2015, 12:33 PM
Big thanks for taking the time out to reply Dimarchi as it is really appreciated.