Tool to debug javascript - does one exist?

Is their a tool in existence to make debugging javascript easier. At the very least to flag syntax errors like a regular compiler.

Yes. Chrome browser. Enable Developer tools.

Regards,
Ray L.

boylesg:
Is their a tool in existence to make debugging javascript easier. At the very least to flag syntax errors like a regular compiler.

Why are you asking this in an Arduino programming forum ?

Firebug in Firefox.

...R