Windows 10 reached EOS (end of support) on October 14, 2025. For more information, see this article.

Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

how to get scratchpad to print console output to screen

  • 3 trả lời
  • 5 gặp vấn đề này
  • 30 lượt xem
  • Trả lời mới nhất được viết bởi Yousef

tuỳ chọn khác

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.

Tất cả các câu trả lời (3)

tuỳ chọn khác

Try the console service.

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

Được chỉnh sửa bởi cor-el vào

tuỳ chọn khác

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.

tuỳ chọn khác

Tools > Web Developer > Web Console.

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

Được chỉnh sửa bởi Yousef vào