Important Notice: We're experiencing email notification issues. If you've posted a question in the community forums recently, please check your profile manually for responses while we're working to fix this.

On Monday the 3rd of March, around 5pm UTC (9am PT) users may experience a brief period of downtime while one of our underlying services is under maintenance.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

how to get scratchpad to print console output to screen

  • 3 replies
  • 5 have this problem
  • 2 views
  • Last reply by Yousef

more options

How do I get the Scratchpad under Tools>Web Developer>Developer Toolbar>More Tools to print console output so it's visible. I can't use console.log() because that function returns no visible output, and have to use alert() right now, which is a nuisance.

How do I get the Scratchpad under Tools>Web Developer>Developer Toolbar>More Tools to print console output so it's visible. I can't use console.log() because that function returns no visible output, and have to use alert() right now, which is a nuisance.

All Replies (3)

more options

Try the console service.

You will have to run the Scratchpad in browser (chrome) environment .

Modified by cor-el

more options

The links you provided say I can use the Execute>Display command within Scratchpad in order to get console logging, but when I run console.log("string literal"); or var string = "string"; and console.log(string); through Execute>Display, I get output of /* undefined */. I'm using whatever version of Scratchpad comes with Firefox 17.0.3 for Linux Mint. Further assistance is requested.

more options

Tools > Web Developer > Web Console.

console.log() will have a grey line next to it.

Modified by Yousef