I come from Java Background and so used to Debugging using Eclipse but have recently started on JavaScript(jQuery in particular) and am having really hard time debugging JavaScript Code so my question is
What are the best ways of Debugging JavaScript ?
I have tried using Firebug and it is good, but wanted to know
If we have any other useful tools or stratergies for Debugging JavaScript ?
I’ve recently switched from Firebug to Google Chrome as it has some pretty powerful debugging tools built-in (Ctrl+Shift+J to get the Developer Tools window open), including break-points.
I’ve also used logging/tracing to great effect. Some examples: