[Conkeror] newbie javascript question

John J Foerch jjfoerch at earthlink.net
Tue Mar 25 18:19:04 PDT 2008


Christopher Moore <chris.w1gm at gmail.com> writes:
> Hello,
> How do you go about debugging and testing js code?  Syntax checking 
> would be the first priority.
>
> Thanks
> Chris

In conkeror the function dumpln is handy for instrumenting code.  It
does what its name suggests, dumps its arg to stdout.

Syntax checking?  I don't know of any automated syntax checker.  I
have always just consulted the manuals at MDC.

Once you get your feet wet you might look into installing MozLab.  It
contains a module called MozRepl with which you can interact with a
mozilla browser from the comfort of emacs.

--John



More information about the Conkeror mailing list