Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

javascript equivalent of System.out.println()  RSS feed

 
Marilyn de Queiroz
Sheriff
Posts: 9080
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there something that can be used to print the value of variables without interfering with the running of the app like alert() does?
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you have Firefox, you can use the Firebug extension and for IE there is Firebug lite.

Links:
http://www.getfirebug.com/
http://www.getfirebug.com/lite.html

It allows you to do console.log("foo"); and see it in a new window. The full version also has the ability to step through the code.

Eric
[ June 27, 2007: Message edited by: Eric Pascarello ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!