Firebug
From PlainOldWebserver
[edit] Running Firebug with Pow
This tutorial describes how Firebug can be used to debug SJS code in Pow. These are the prerequisites before you can use the debugger.
1. Install Firebug. 2. Install the XULRunner POW for the PC or for the Mac. Linux and other users can download XULRunner and load the Pow XPI file manually. 3. Install Pow. You did that already, right?
With that out of the way, let's get going.
4. For security reasons, you must password-protect the XULRunner Pow application before using the debugger. In the Pow application, go to Tools -> Options. Check "Password Protect Site." Choose a login and password 5. Optionally in Options, choose a root directory to be the same as that of the Pow Firefox extension.
6. Go to http://localhost:6673/ and log on. 7. Write your debug-able code.
test.sjs:
<?sjs
pow_debug();
document.writeln("This is a great day!<br/>");
document.writeln("The gum you liked is coming back in style.<br/>");
document.writeln("The midget danced.<br/>");
?>
8. Load this page http://localhost:6673/test.sjs in Firefox and debug using Firebug.



