views:

73

answers:

1

I'm trying to understand if I can debug a stand alone .js file which doesn't interact with browser. Is there any way to just load it and debug or I will be forced to encapsulate it into html file?

Environment is Windows, no browser objects are required.

+2  A: 

To debug a stand-alone script, my first thought would be to use Rhino debugger -- have you tried that? I've also heard about v8 debug, but I have no experience with it yet.

Alex Martelli
I'll check that but first glance is not so impressive... any other options?
Michael