No output is displayed in Firefox add-on builder when using console.log

I am facing a specific issue: I cannot see any log message in any console. The builder's console is completely useless - nothing happens when I click on it, the built-in Firefox console only shows info about installations and uninstallations, and Firebug shows nothing either.

Despite using console.log() and console.error(), I have not had any success in resolving this issue. All logLevels on the about:config page are set to 'all', and devtools.errorconsole.enabled is also true.

Please, I am desperate for help :-(

Thank you.

Kamil

PS: The log window below displays 3 CSS errors (by default since I don't include any CSS files - something related to expected declarations and skipped declarations). My program code is simple: console.log('test') or console.error('test') inside or outside exports.main = function().

17:34:52.086 GET https://builder.addons.mozilla.org/get_latest_revision_number/1127553/ [HTTP/1.1 200 OK 207ms]
17:34:52.086 GET https://builder.addons.mozilla.org/package/check_latest_dependencies/1835317/ [HTTP/1.1 200 OK 215ms]
17:34:52.088 POST https://builder.addons.mozilla.org/xpi/prepare_test/1835317/ [HTTP/1.1 200 OK 805ms]
17:34:52.862 "XPI delayed ... try to load every 2 seconds" ide-min.js:1
17:34:53.919 GET https://builder.addons.mozilla.org/xpi/test/2dnzeahpy6adc/ [HTTP/1.1 200 OK 1494ms]
17:34:53.865 "installing from /xpi/test/2dnzeahpy6adc/" ide-min.js:1
17:34:54.863 "request is running" ide-min.js:1
17:34:56.308 Expected declaration but found '['. Skipped to next declaration. latest
17:34:56.309 "Add-on installed" ide-min.js:1
17:34:56.326 Error processing value for 'opacity'. Declaration skipped. latest
17:35:00.337 Error processing value for 'top'. Declaration skipped.

Answer №1

In order to make adjustments, you need to modify the logging level setting, which typically is initially set to error, either across the board or for certain add-ons.

For further information, please refer to the associated documentation.

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

What steps are needed to successfully integrate bootstrap.js, jquery, and popper.js into a project by using NPM to add Bootstrap?

I've successfully set up a project and incorporated Bootstrap via npm. However, I'm facing challenges in loading the necessary javascript files for Bootstrap components. It's important to note that I am utilizing a Vagrant Box (virtual machi ...

Having trouble accessing and setting the values of a JSON array retrieved using $.get method in JavaScript outside of the function

Executing the following code snippet results in the desired values being displayed in console.log: var q; $.get('/ajax_subscribers', { code: 'qyhskkcnd'}, function(returnedData){ q = returne ...

Using Ajax to invoke a C# webmethod

I'm trying to call a webmethod defined in this specific class <%@ WebService Language="C#" Class="emt7anReyady.myService" %> using System; using System.Web; using System.Web.Services; using System.Web.Services.Protocols; using System.Linq; usi ...

When using CSS, the first-letter selector may appear truncated at the paragraph's edge

Having an issue with my drop caps. Visit this page for reference: In webkit, the :first-letter is getting cut off at the top, while in Firefox it is pushed down a line. Any suggestions on how to resolve this so it spans only two lines and doesn't get ...

What is the best way to locate an element with the class name being an email address using jQuery?

Is it possible to locate an element with an email address as the class name, considering that the email address varies? $(document).ready(function(){ //not working getting error var email="<a href="/cdn-cgi/l/email-protection" class="__cf_email__ ...

Tips for creating an off-canvas navigation menu in Bootstrap that overlaps content rather than displacing it

I am a big fan of the off canvas feature in Bootstrap 3, as seen here: http://getbootstrap.com/examples/offcanvas/. However, for a current project, I would like to customize it so that it overlaps the content instead of pushing it to the side. Is this doab ...

What is the process for implementing NPM in a vanillaJS, html, and css project?

My current project consists of three html files: index.html, about.html, and resource.html. Additionally, there are two css files - style.css and style1.css, as well as two javascript files - script.js and script1.js. Index.html is linked to style.css and ...

Using JavaScript's FOR loop in combination with AJAX

I'm encountering an issue with using AJAX and a FOR loop. Within my PHP file, there are several if statements that return different prices based on a number range (1-9). For example: 1 -> echo "15.20"; 2 -> echo "11.10"; 3 -> echo "13.65"; ...

Is it expected to conceal children who are 2 years old?

I came across the following HTML code snippet: <ul id="product_create-header" class="stepy-header"> <li id="product_create-head-0" class="stepy-active"> <div>Categoría</div><span>Categoría</span> </ ...

Guide on sending several HTTP requests from a Node.js server with a shared callback function

Is there a way to efficiently make multiple HTTP calls in a Node.js server with a shared callback function? Are there any modules or libraries that can help with this? ...

What is the best way to implement JQuery Ajax in order to invoke a PHP file on the server side, which will then execute returned javascripts?

I am currently working on a client website that requires a cross-domain JQuery Ajax call to a PHP file on my server. The purpose of this call is to query the database for various stored JavaScripts, which will then be returned to the client and executed on ...

Altering the Color of Items in an ASP.NET ListBox

I have a listbox on a webform that is being populated by a datasource from a SQL Server 2008. Based on the text in the list box, I want the background color of each specific item to be different. For example, if these are the items in the list: AA item ...

In order to leverage Node.js with jQuery, jsdom is required

$.getJSON('https://api.twitch.tv/kraken/channels/' + SloppyKitty7, function(channel) { if (channel["stream"] == null) { var live ="no" } else { var live ="yes" } I wrote this code but when I try to run it, I encounter the followin ...

Display or conceal div based on chosen options

I am working on a feature that involves three dropdown select boxes, each containing different sets of demographic attributes. My goal is to show a score based on the combination of selections made by the user. For example, if a user chooses Male, 18-24, A ...

jQuery script unable to alter img src in Firefox and IE browsers

I am working with an image and a jQuery script to change the captcha image. <img src="captcha.jpg" id="my-image"/> The jQuery script is as follows: <script> $(document).ready($("#my-image").click(function(){ $('#my-image&ap ...

Tips for ensuring the border matches the size of the image

I am in the process of creating a website that includes a filter option. My plan is to have the filters displayed on the left side and the items on the right side. To achieve this layout, I have implemented a scrollable div for the items. However, I notic ...

Sometimes, IE8 fails to load CSS files properly

This issue is really frustrating me, guys The website displays correctly in Firefox and IE9, but has minor layout problems in Chrome and mobile Safari. When trying to load the page from the server in IE7 or IE8, it's very unreliable. It usually work ...

"Enhance Your Website with a JavaScript Slide Feature, Hidden Text Animation,

I've encountered some issues with my code: HTML: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> ...

Block users from viewing the image displayed within a JavaScript canvas

On my server, I have a path to an image that is accessed by a JavaScript to load the image onto a canvas. The script then proceeds to hide certain parts of the image using black layers. The issue arises when a user can easily view my JavaScript code, extr ...

C# - Implementing JavaScript Object manipulation in .NET Core

As I was browsing, I noticed many similar questions from years ago. Let's kick off this discussion with a simple JavaScript example showcasing how easy it is to modify, read, and write properties in objects using this language. Take a look at the cod ...